From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758526AbYAEVwQ (ORCPT ); Sat, 5 Jan 2008 16:52:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757568AbYAEVwB (ORCPT ); Sat, 5 Jan 2008 16:52:01 -0500 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:37668 "EHLO amd.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757566AbYAEVwA (ORCPT ); Sat, 5 Jan 2008 16:52:00 -0500 Date: Sat, 5 Jan 2008 22:52:09 +0100 From: Pavel Machek To: Alan Stern Cc: Oliver Neukum , Raymano Garibaldi , Andrew Morton , Denys Vlasenko , Kernel development list , USB development list Subject: Re: [linux-usb-devel] [FEATURE REQUEST] Transparent hot plugging of root file system on portable storage devices. Message-ID: <20080105215209.GB21565@elf.ucw.cz> References: <200801021119.22104.oliver@neukum.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 2008-01-02 15:23:30, Alan Stern wrote: > On Wed, 2 Jan 2008, Oliver Neukum wrote: > > > 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. > > What about people who prefer (for reasons of restart latency or > non-availability of swap space) to suspend rather than hibernate? For suspend to RAM, we can keep the power session, and be _sure_ noone unplugged our USB disks, right? So that one should work nicely. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html