public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Raymano Garibaldi <raymano@faunos.com>
Cc: Mark Lord <lkml@rtr.ca>, linux-kernel@vger.kernel.org
Subject: Re: [2.6.23-1] [USB Mass Storage] [USB_PERSIST] Losing mounted USB storage after resume
Date: Sun, 25 Nov 2007 18:19:34 +0000	[thread overview]
Message-ID: <20071125181934.GA4944@ucw.cz> (raw)
In-Reply-To: <1618816c0711151357g56d4ab4q8b9d8c6a4c5bfd51@mail.gmail.com>

Hi!

> The scenario that you've described is exactly what I have in mind as
> well. The lack of this feature, which worked fine in 2.6.21, is
> holding us back on updating the kernel in our LiveUSB distribution. I
> think that this is a feature that would be more and more needed as
> portable storage devices start growing in capacity and speed and start
> getting smaller in physical size.
> 
> Please advise us on how to accomplish this. Kernel boot option; patch;
> anything! We'll take anything.

This is tricky to do safely. You could verify during resume that fs
was not modified (same last mount date on ext2) and if it was not,
just proceed as if it was not unmounted. Patch would be warmly
welcome.
							Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

      reply	other threads:[~2007-11-25 18:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-15 14:57 [2.6.23-1] [USB Mass Storage] [USB_PERSIST] Losing mounted USB storage after resume Raymano Garibaldi
2007-11-15 17:01 ` Mark Lord
2007-11-15 21:57   ` Raymano Garibaldi
2007-11-25 18:19     ` Pavel Machek [this message]

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=20071125181934.GA4944@ucw.cz \
    --to=pavel@ucw.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@rtr.ca \
    --cc=raymano@faunos.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