When issuing a mount command at the command line, the mount will only persist until the machine is rebooted. If we always want that particular mount to persist we can put an entry in /etc/fstab
.
/etc/fstab
/dev/sda6 /home/joe/op auto defaults 0 0
Device name or block id (next slide)
Examples:
Ubuntu now uses UUID to identify partitions. To find out what the UUID is for a particular device we can use:
sudo blkid
This is the recommended method, as device names are often a coincidence of hardware detection order, and can change when other disks are added or removed. Say that that you plugged another disk into your computer and booted up. It probably won’t happen, but it is possible that the new disk might be identified as /dev/sda, causing the system to look for the contents of /boot on the first partition of that disk.
Field 2 is the mount point
none
Examples: