Re: automount of filesystem by label

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

 



Mikkel L. Ellertson wrote:
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
No such file or directory, and that's doing a "cd /mnt/sata1" - I always mount to mnt, I just reused the /etc/auto.misc file.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux