Ubuntu - How to automount an external drive at a preconfigured mount point?

Posted by Lars Haugseth on Super User See other posts from Super User or by Lars Haugseth
Published on 2009-08-01T16:11:02Z Indexed on 2010/06/06 15:53 UTC
Read the original article Hit count: 376

Normally, when I attach an external USB drive to my Ubuntu system, the filesystem on it are automounted to /media/label. However, I'd like the filesystem to be mounted at a mount point of my choosing. I've added a line like this to my /etc/fstab:

UUID=2BE905C238C1F724   /p   ntfs-3g   defaults   0   0   # Passport 320GB

This allows me to manually mount the volume at /p by running sudo mount /p, however the filesystem is no longer automounted when the drive is attached to the PC. What do I need to do to get automount to this mount point to work, if at all possible?

© Super User or respective owner

Related posts about ubuntu

Related posts about usb