What do the filesystem entries mean in /etc/fstab
-
/etc/fstab man page: http://bit.ly/2r1gzB2
fsck man page: http://bit.ly/2r9s1rJ# <file system> <mount point> <type> <options> <dump> <pass>
eg: UUID=7f26dc03-6754-488e-bbqf-c2te158e21cf / ext4 errors=remount
-ro 0 1The UUID is used in front of these entries, it is the Universally Unique Identifier for devices.
<file system>, LABEL or UUID, for file system this is the name of the device, e.g: /dev/sdb1, etc. I could give /dev/sdb1, the label of "joebloggs" and that would be the first field, or use the UUID of the device.
LABEL=<label> or UUID=<uuid> may be given instead of a device
name. 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.<mount point> The directory where the device is mounted. e.g /oracle
<type> The type of file system, e.g ext4, xfs, btrfs, f2fs, vfat, ntfs, hfs‐
plus, tmpfs, sysfs, proc, iso9660, udf, squashfs, nfs, cifs, etc.<options> Add options for that particular file system type e.g errors=remount-ro
<dump> Historically used by the dump command.
<pass> Determines the order that fsck uses to check filesystems.
© Lightnetics 2024