Automount hard drive on linux
First, let's find out the available disks:
sudo fdisk -l
Then we can find the UUID of each disk:
sudo blkid
And we finally edit fstab to automount based on UUID:
UUID=14D82C19D82BF81E /data auto nosuid,nodev,nofail,x-gvfs-show 0 0
Backlinks
These are the other notes that link to this one.
Comment
Share your thoughts on this note. Comments are not public, they are
messages sent directly to my inbox.