From: Gary_Lerhaupt@Dell.com
To: linux-hotplug@vger.kernel.org
Subject: storage automount & devlabel
Date: Wed, 08 Jan 2003 20:18:23 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-104205795923210@msgid-missing> (raw)
I've added automount functionality to devlabel. Turns out it was an
additional 5 lines of code. In any case, when you hotplug your device, if
devlabel finds your symlink in an entry in /etc/fstab, it will run a mount
on the mountpoint listed for that symlink.
The latest version (0.26.02) is available at
http://domsch.com/linux/devlabel
So, here's what you do:
1. Install devlabel
2. Hotplug storage
3. `devlabel add -s /dev/mysymlink -d /dev/sdX1`
4. Edit /etc/fstab and add an entry pointing /dev/mysymlink to some mount
point
5. Un-Hotplug storage
From then on, when you hotplug your storage, it will automatically get
mounted as specified in /etc/fstab.
**Note that I've removed the agent hotplug scripts from the tarball install
script. If you have never installed devlabel before, you'll have to
manually patch your agent hotplug scripts so that devlabel will run after a
hotplug event occurs**
Gary Lerhaupt
Linux Development
Dell Computer Corporation
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
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
next reply other threads:[~2003-01-08 20:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-08 20:18 Gary_Lerhaupt [this message]
2003-01-13 19:51 ` storage automount & devlabel Gary_Lerhaupt
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-104205795923210@msgid-missing \
--to=gary_lerhaupt@dell.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).