To automatically mount a drive in Linux, one has to edit the /etc/fstab file and store the credentials that are required for the drive to mount. “fstab” is the “file systems table” file, where all available disks and disk partitions are listed and is used by the “mount” command to determine which options to use