From: md@Linux.IT (Marco d'Itri)
To: linux-hotplug@vger.kernel.org
Subject: Re: Getting a mount point once a device has been mounted
Date: Tue, 18 Aug 2009 22:15:09 +0000 [thread overview]
Message-ID: <20090818221509.GA28705@bongo.bofh.it> (raw)
In-Reply-To: <afcb155f0908181446h69da561ckf16aa720f2583989@mail.gmail.com>
On Aug 18, Paul Kilgo <paulkilgo@gmail.com> wrote:
> I'd like the script to clean any new usb devices that get plugged into
> the system. I've been experimenting with the rules but can't find a
> good way to get the mount point. Does anyone have any ideas or perhaps
> an alternate method?
You need to watch /proc/mounts for changes, udev does not deal with
this. Hopefully some day upstart it will...
--
ciao,
Marco
next prev parent reply other threads:[~2009-08-18 22:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-18 21:46 Getting a mount point once a device has been mounted Paul Kilgo
2009-08-18 22:15 ` Marco d'Itri [this message]
2009-08-19 4:44 ` Paul Kilgo
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=20090818221509.GA28705@bongo.bofh.it \
--to=md@linux.it \
--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).