RHEL5 - how to automount a usb drive without logging in
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
RHEL5 - how to automount a usb drive without logging in
On a RHEL 5 server of mine, I have a usb drive connected to hold backups. I've noticed that it mounts automatically only if a User is logged into the server. For now I've put it in /etc/fstab so it's hard mounted at bootup, but I prefer the automount, as currently if the drive is not there at bootup, the system hangs looking for the absent filesystem.
I'm not really sure how usb drives are automounted currently. I don't see anything in /etc/auto.master. Whatever process does this, I just want it to run earlier, before/without User login.
Anybody know how?
-Van
p.s.
FWIW, permissions issues aren't relevant for me, as the drive's only use is for a backup process that runs as root. No non-Admins will ever be at the server anyway.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.