From: Mark Lord <lkml@rtr.ca>
To: Raymano Garibaldi <raymano@faunos.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6.23-1] [USB Mass Storage] [USB_PERSIST] Losing mounted USB storage after resume
Date: Thu, 15 Nov 2007 12:01:13 -0500 [thread overview]
Message-ID: <473C7B59.7030601@rtr.ca> (raw)
In-Reply-To: <1618816c0711150657p35744001ic6d4ea22d5651a63@mail.gmail.com>
Raymano Garibaldi wrote:
> Hi,
>
> Is there a way/patch that would revert the USB mass storage
> suspend/resume behavior to the way things worked on and prior to
> kernel 2.6.21?
>
> The problem is mounting a usb drive, suspending while mounted,
> detaching the usb drive during suspend, reattaching usb drive during
> suspend before resume, and resuming.
>
> In this case the mount is lost and the drive has to be remounted after
> resume. If the device remains attached while the computer is
> suspended, USB_PERSIST works as expected and the device remains
> mounted when the computer resumes. Kernel 2.6.21-x would leave the
> mount point intact whether the device was left attached or was
> detached and reattached while the computer was suspend.
>
> We need this functionality particularly in read-only live USB distros.
> In this case the USB device is read-only and can not change while the
> computer is suspended even if it gets detached and is reattached
> before resume.
..
Some kind of boot flag would cure this one nicely.
I have the same issue here: boot/run notebook from USB stick,
eventually suspend the notebook and unplug the stick so it can
be packed into the case for travel.
Unpack at the other end, replug the stick, and resume from suspend.
This should be doable, perhaps with a boot parameter override or something.
???
next prev parent reply other threads:[~2007-11-15 17:01 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 [this message]
2007-11-15 21:57 ` Raymano Garibaldi
2007-11-25 18:19 ` Pavel Machek
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=473C7B59.7030601@rtr.ca \
--to=lkml@rtr.ca \
--cc=linux-kernel@vger.kernel.org \
--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