How To Use Etc Fstab
Many casual users do not use this file.
How to use etc fstab. The answer lies in the etc fstab file. Open the fstab file in an editor. Use blkid to print the universally unique identifier for a device. We re using gedit an easy to use editor found in most linux distributions. The etc fstab file is one of the most important files in a linux based system since it stores static information about filesystems their mountpoints and mount options.
Hopefully you now have a better grasp of the purpose of etc fstab and can make sense of what is shown on your system. Static file system information. In this file a table of instructions for each permanently mounted hard disk is being maintained. This may be used with uuid as a more robust way to name devices that works even if disks are added and removed. In this tutorial we will learn to know its structure in details and the syntax we can use to specify each entry in the file.
This fstab file has two entries already in it. Be careful not to alter these entries. However if you find yourself curious or in need of making changes you are now better equipped to do so. This may be used with uuid as a more robust way to name devices that works even if disks are added and removed. This fstab file is kept in etc directory by default.
The editor appears with your fstab file loaded in it. They are the partition on the existing hard drive dev sda1 and the swap file system. You need to modify or maintain it in the way you need to use the devices partitions. If we read the file fstab a table will be shown with some entry. The etc fstab file is one of the important configuration file used by linux machines which specify the devices and partitions available and where how to use these partitions.
Many casual users do not use this file. Use blkid to print the universally unique identifier for a device. This file will be created updated during the system installation. Here is a sample etc fstab file. Restoring the fstab backup download the backup of the fstab bak file from your cloud storage and place it in the system backups folder or if the file is still there use the cd command and go to home username system backups folder.