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:
And we finally edit fstab to automount based on UUID:
UUID=14D82C19D82BF81E /data auto nosuid,nodev,nofail,x-gvfs-show 0 0
These are the other notes that link to this one.
Join my experiment of better thinking and interesting discussions