The file fstab contains descriptive information about the various file systems. The system uses this file to know what file systems should be mounted at boot time and if removable media should be mounted automatically when it is inserted. It is the duty of the system administrator to properly create and maintain this file. Usually this file is built correctly when the distribution installs. Modifications will need to be made when extra disks or partitions of a disk are to be added and are to be mounted at boot time. Here is an example of the fstab:
LABEL=/1 / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda2 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
Information about what this file contains and how to modify the file is found in the man page for fstab.
Home - Table Of Contents - Contact Us
CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com
Version 1.0 - Version Date: March 29, 2005
Adapted with permission from a work created by Tcat Houser et al.
CertiGuide.com Version © Copyright 2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.