[Server-devel] automount external HD

Anna aschoolf at gmail.com
Sat Oct 16 21:58:35 EDT 2010


If you've got an /etc/fstab entry for the drive, you could tell udev to
mount it.  I think this'll require the auto option in fstab.

I haven't tested it, but if you create 92-mount.rules (or whatever 90
something is available) in /etc/udev/rules.d with this...

SUBSYSTEM=="block", run+="/bin/mount -a"

...It should automagically mount where fstab tells it to.  But again, I
haven't tested it.  Just an idea.

Anna Schoolfield
Birmingham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/server-devel/attachments/20101016/7b7a78d8/attachment.htm 


More information about the Server-devel mailing list