On Thursday 31 August 2006 4:01 am, Rodolfo Giometti wrote:
> On Thu, Aug 31, 2006 at 03:36:42AM -0700, David Brownell wrote:

> > But in general, userspace should be assuming that all removable
> > media will have been removed by the time the system comes back up,
> > and have prepared for it.  Unmounting would be a nice safe policy,
> > but if userspace knows the system will sleep and is _not_ ready for
> > the media to be removed, that's a userspace bug.
> 
> Mmm... it doesn't seem so flexible. What happens if umount fails? I
> can't suspend the system? :-o

Do you value "flexibility" over "correctness" then?  Most folk don't
want to risk the data loss ...

Yes, "can't suspend" is a much safer result than "will predicatably
lose data when the removable media get removed".  :(

- Dave


-------------------------------------------------------------------------
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

Reply via email to