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

From: Mark Lord
Date: Mon Apr 02 2007 - 10:49:29 EST


Pavel Machek wrote:
..
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.

And when the rootfs is on an external drive, this is the *only* option.

So let's make it work (again, like it used to work!).
-
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/