Re: [linux-usb-devel] [FEATURE REQUEST] Transparent hot plugging of root file system on portable storage devices.

From: Oliver Neukum
Date: Wed Jan 02 2008 - 05:16:09 EST


Am Dienstag 01 Januar 2008 schrieb Pavel Machek:
> Hi1
>
> > I would like to request a feature in the Linux kernel that would allow
> > a user to unplug a live read-only root file system which exists on a
> > detachable storage device such as a USB key drive. The desired
> > behavior is that once the same device is reattached to the computer
> > the user can continue work transparently without having to reboot.
> >
> > Having such a feature is becoming more important with advances in
> > detachable solid state drive technology.
>
> Yep, that would be nice.... In fact, patch would be very welcome :-).

Use the USB persist feature and hibernate. It should work. If you modify
the fs in any way, you'll crash and burn. Unmounting / is harder which you
need if you want to do this safely.

Regards
Oliver

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