linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: ming deng <mingd@oeone.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: How to hot unplug?
Date: Tue, 09 Jul 2002 15:07:45 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-102622733523933@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-102622053714961@msgid-missing>

David Brownell wrote:

> ming deng wrote:
>
>> When a USB device is detached, I want to do something to clear up, 
>> like unmount the directory for USB Mass Storage devices. Is there any 
>> function in hotplug supporting that?
>
>
> You get a notification that the device was removed,
> but so far nothing uses it.  Feel free to develop
> appropriate patches.  In the case of unmounting,
> I'd look at the issues for mounting devices first.
> (My expectation is that the 2.5 driverfs and disk
> model unification work will make that workable.)
>
thanks. And I found out $REMOVER works. But can someone tell me the 
rationale behind using $REMOVER instead of using "remove"?

cheers,

Ming



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  parent reply	other threads:[~2002-07-09 15:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-09 13:14 How to hot unplug? ming deng
2002-07-09 14:50 ` David Brownell
2002-07-09 15:07 ` ming deng [this message]
2002-07-09 17:29 ` Stephen Williams

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=marc-linux-hotplug-102622733523933@msgid-missing \
    --to=mingd@oeone.com \
    --cc=linux-hotplug@vger.kernel.org \
    /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).