Re: USB: on suspend to ram/disk all usb devices are replugged

Pavel Machek
2007-04-02T18:28:38Z

Hi!

> >Problem is that suspending _with_ removable mass
> >storage devices
> >attached just will not work. User will unplug them,
> >then complain
> >about corruption. Advanced user will unplug them, work
> >with them
> >somewhere else, replug them, then loose filesystem.
> >
> >Feel free to send patch to teach filesystems to handle
> >this.
>
> People have already fixed this: sync() before suspend,
> and use a journalling filesystem. Problem solved.

Does not solve the 'user removed it and mounted it somewhere else in
the meantime' problem.

Alan proposed one possible solution....
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html