Ubuntu - Automatically mount external drives to /media/LABEL on boot without a user logged in?

Posted by endolith on Super User See other posts from Super User or by endolith
Published on 2009-10-11T18:13:30Z Indexed on 2011/11/18 17:54 UTC
Read the original article Hit count: 308

This question is similar, but kind of the opposite of what I want. I want external USB drives to be mounted automatically at boot, without anyone logged in, to locations like /media/<label>.

I don't want to have to enter all the data into fstab, partially because it's tedious and annoying, but mostly because I can't predict what I'll be plugging into it or how the partitions will change in the future.

I want the drives to be accessible to things like MPD, and available when I log in with SSH. gnome-mount seems to only mount things when you are locally logged into a Gnome graphical session.

© Super User or respective owner

Related posts about linux

Related posts about ubuntu