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

Mark Lord
2007-04-02T14:49:13Z

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!).