* storage automount & devlabel
@ 2003-01-08 20:18 Gary_Lerhaupt
2003-01-13 19:51 ` Gary_Lerhaupt
0 siblings, 1 reply; 2+ messages in thread
From: Gary_Lerhaupt @ 2003-01-08 20:18 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: storage automount & devlabel
2003-01-08 20:18 storage automount & devlabel Gary_Lerhaupt
@ 2003-01-13 19:51 ` Gary_Lerhaupt
0 siblings, 0 replies; 2+ messages in thread
From: Gary_Lerhaupt @ 2003-01-13 19:51 UTC (permalink / raw)
To: linux-hotplug
update:
I made automount its own option so devlabel didn't start attempting to
automount things it shouldn't (like swap partitions). So, now the syntax
is:
devlabel add -s /dev/mysymlink -d /dev/sdX1 --automount
-----Original Message-----
From: Lerhaupt, Gary
Sent: Wednesday, January 08, 2003 2:18 PM
To: 'linux-hotplug-devel@lists.sourceforge.net'
Subject: storage automount & devlabel
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: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-13 19:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-08 20:18 storage automount & devlabel Gary_Lerhaupt
2003-01-13 19:51 ` Gary_Lerhaupt
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).