How To Use Etc Fstab
Etc fstab.
How to use etc fstab. Use blkid to print the universally unique identifier for a device. This fstab file has two entries already in it. 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. The editor appears with your fstab file loaded in it. This fstab file is kept in etc directory by default.
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. Full form of fstab can be elaborated to understand as file system table. If we read the file fstab a table will be shown with some entry. Static file system information. The answer lies in the etc fstab file.
We re using gedit an easy to use editor found in most linux distributions. Static file system information. Hopefully you now have a better grasp of the purpose of etc fstab and can make sense of what is shown on your system. In this tutorial you will learn. Many casual users do not use this file.
Here is a sample etc fstab file. You need to modify or maintain it in the way you need to use the devices partitions. Use blkid to print the universally unique identifier for a device. They are the partition on the existing hard drive dev sda1 and the swap file system. Be careful not to alter these entries.
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. 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. This may be used with uuid as a more robust way to name devices that works even if disks are added and removed. However if you find yourself curious or in need of making changes you are now better equipped to do so.