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

From: Pavel Machek
Date: Mon Apr 02 2007 - 14:28:55 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/