[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

automount of filesystem by label



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]