marți, 18 decembrie 2018

How to make usb drive automount in Ubuntu 18.04 LTS

1. Connect the drive (check with sudu fdisk -l )
2. Get partitions UUIDs with sudo blkid
3. Edit fstab sudo nano /etc/fstab
     add a line in the form:
      UUID=<your UUID obtained at step 2> /mnt/<your path> auto nosuid,nodev,nofail 0 0