Subscribe:

Ads 468x60px

Pages

Monday, June 27, 2011

Description of /etc/fstab fields

There are 5 fields present in the /etc/fstab:

1. Label - Lists the device to be mounted.



2. Mount Point - The directory where the filesystem will be mounted.


3. Filesystem Format - Describes the filesystem type. Valid filesystem types include ext,ext2, ext3, ext4, swap, msdos, vfat, proc, tmpfs, is09660, nfs and smb.


4. Dump value - It should be either 0 or 1. A value of 1 means that data is automatically saved to disk by the dump command when you exit linux.data should be backed up (also called dumping) before a system shutdown or reboot occurs. This field commonly uses a value of 1. A value of 0 might be used if the file system is a temporary storage space for files, such as /tmp.


5. Filesytem check order - It determines the order that filesystem are checked by fsck during the boot process. The root directory (/) filesystem should be set to 1, and other local filesystems should be set to 2. Removable filesystems such as /mnt/cdrom should be set to 0, which means that they are not checked during the linux boot process.

0 comments:

Post a Comment