sudo fdisk -l
See which disk you want to auto-mount.
Suppose you attached a USB-drive and it’s shown as “/dev/sdb1” in above command.
Its file-system will also be shown beside that. 284 more words
/etc/fstab contains information about the disks. It has the details about where the partitions and storage devices should be mounted. We usually configure automount, disk quota, mount points etc in this fstab. 91 more words