I have an external HDD and when I plug it in, I'd like it that Ubuntu always mounted it to a particular mountpoint and with particular read/write permissions.
To be more precise, I have an external drive with a partition called "Backup" (/dev/sdb1
) and I'd like it to me mounted to /media/Backup
with read-only permissions. What's the easiest way to do that?
/etc/fstab
is for. Include a line with the unique disk ID, the mount point, and options like read-only permissions. At the time the drive is connected, the system will mount it as specified in/etc/fstab
. – Jos Feb 11 '15 at 10:37