<< First Page    < Previous Page    Next Page >    Last Page >>

4.1) /etc/fstab

 

dev/hda2         /                       ext2        defaults                                                           1 1

/dev/hda1       /boot                ext2         defaults                                                          1 2

none               /dev/pts           devpts      mode=0620                                                    0 0

/dev/hda5       /home              ext2         defaults                                                           1 2

/dev/hdb1       /IBM               ext2         defaults                                                           1 2

/dev/cdrom     /mnt/cdrom     iso9660    ro,nosuid,noauto,exec,user,nodev                 0 0

/dev/fd0          /mnt/floppy     vfat          sync,nosuid,noauto,user,nodev,unhide          0 0

none               /proc                proc         defaults                                                           0 0

/dev/hda4       swap                swap        defaults                                                           0 0

/dev/hdb2       /mnt/dos          vfat          defaults                                                           1 2

 

The first field in each line is the device name. The second is the place to mount this file system (also called mount point). The third is the filesystem type (ext2 = native Linux). The forth field is the options field. For more information about the options (and available file systems) try “man mount” or “man fstab”.

 

The last two fields are less important, and it is always possible to understand them by reading the man pages.