Hi! > > > In that case the user would see data corruption - just as if he mounts a > > > piece > > > of removable media in a USB card reader; yanks out the card and modifies > > > it > > > elsewhere, and then puts it back in. > > > > > I my opinion we can't really defend ourselves against such users... We > > > can of > > > course add checks in the file system drivers in the resume hooks to > > > validate the > > > super block and mount read-only if something change. > > > > The GNOME hath spoken?
> I also thought about that, > > I think that the best solution is still to hide connect/disconnect of > usb devices from userspace (now it also causes corruption) > But to refuse suspend with any usb mass storage device connected with > mounted systems (and add a module param override > for users who know what they are doing) > > What do you think ? Agreed... and notice how easy is to do that in userspace :-))). -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel