automount of filesystem by label
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Sat Jan 31 20:38:29 UTC 2009
Tod Thomas wrote:
> I have an external, USB connected, SATA drive divided into two
> partitions with labels SATA1, SATA2. I'd like to set up autofs to
> automount the drive when I plug it into the USB port and power it up.
>
> In auto.master I have:
>
> /mnt /etc/auto.misc --timeout 60
>
> and in /etc/auto.misc I have:
>
> sata1 -fstype=ext3 :SATA1
> sata2 -fstype=ext3 :SATA2
>
> I restarted autofs, no luck. Is there a way to automount my drive using
> just the labels?
>
>
> Thanks - Tod
>
Dumb question - what error message do you get when you try do "cd
/misc/sata1"? Automount does not mount anything until you try to
access it. It does not mount your drive just because you plugged it in.
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090131/ed274542/attachment-0001.sig>
More information about the fedora-list
mailing list