linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alan Stern <stern@rowland.harvard.edu>
To: Pavel Machek <pavel@ucw.cz>
Cc: Oliver Neukum <oliver@neukum.org>,
	Raymano Garibaldi <raymano@faunos.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Denys Vlasenko <vda.linux@googlemail.com>,
	Kernel development list <linux-kernel@vger.kernel.org>,
	USB development list <linux-usb-devel@lists.sourceforge.net>
Subject: Re: [linux-usb-devel] [FEATURE REQUEST] Transparent hot plugging of root file system on portable storage devices.
Date: Sun, 6 Jan 2008 12:18:35 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.44L0.0801061213460.8070-100000@netrider.rowland.org> (raw)
In-Reply-To: <20080105215209.GB21565@elf.ucw.cz>

On Sat, 5 Jan 2008, Pavel Machek wrote:

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

No, no.  You didn't understand the question.

What about people who want to suspend to RAM instead of hibernating and
_do_ want to unplug the USB device containing their root filesystem
while the machine is asleep?  In this case we will _know_ that the
power session has been interrupted, but USB Persist won't activate
because the host controller never lost power.

Alan Stern


  reply	other threads:[~2008-01-06 17:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-26 19:04 [linux-usb-devel] [FEATURE REQUEST] Transparent hot plugging of root file system on portable storage devices Raymano Garibaldi
2008-01-01 20:29 ` Pavel Machek
2008-01-02 10:19   ` Oliver Neukum
2008-01-02 20:23     ` Alan Stern
2008-01-05 21:52       ` Pavel Machek
2008-01-06 17:18         ` Alan Stern [this message]
2008-01-06 20:59           ` Oliver Neukum
2008-01-06 22:26             ` Alan Stern
2008-01-06 22:44               ` Pavel Machek
2008-01-07 15:39                 ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44L0.0801061213460.8070-100000@netrider.rowland.org \
    --to=stern@rowland.harvard.edu \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=oliver@neukum.org \
    --cc=pavel@ucw.cz \
    --cc=raymano@faunos.com \
    --cc=vda.linux@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).