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