Editing the fstab file

You can edit the /etc/fstab file to mount a file system automatically at boot time.

You must specify the following:

Each entry must be on a single line.

See the fstab(5) manual page.

The following is a typical fstab file with the new file system on the last line:

  LABEL=/                 /            ext3         defaults         1 1
  LABEL=/boot             /boot        ext3         defaults         1 2
  none                    /dev/pts     devpts       gid=5,mode=620   0 0
  none                    /proc        proc         defaults         0 0
  /dev/sdc1               swap         swap         defaults         0 0
  /dev/cdrom              /mnt/cdrom   udf,iso9660  noauto,owner,ro  0 0
  /dev/fd0                /mnt/floppy  auto         noauto,owner     0 0
  /dev/vx/dsk/fsvol/vol1  /mnt1        vxfs         defaults         0 2