The file /etc/fstab consists of a number of lines like:
/dev/dsk/c0d0s0 / 5.2 rw 1 1
hostname1:/usr/catman /usr/catman nfs ro,soft 2 2
Fields are separated by blanks or tabs. A number sign (#), as the first non-space character, begins a comment.
The first field in each line specifies the device on which the local partition to be mounted exists. For a remote file partition, it contains the hostname of the system on which the remotely-mounted file system really exists, and then a colon (:), followed by the absolute path name of the file partition as it exists on the server system.
The second field is the local mount-point. For a local system file partition, the device pathname is specified. For a remote file partition, you should see the remote host's name and the full pathname of the file partition to be mounted.
The third field is the type of file system. This may be 4.2, 5.2, nfs, or ignore. If this field is ignore, the entire line is ignored. This feature lets you keep remote mounts that you do not want to mount routinely in /etc/fstab when you boot the system.
The fourth field contains options that are passed to the mount command. Some of the valid options include:
- "rw" specifying that the mounted file system is readable and writable.
- "ro" specifying that the mounted file sytem is read-only.
- "soft" If a file system is mounted read-only, this option lets the client
system keep running using only local data, when the server system goes
down.
The fifth field is a dump-level parameter used by the dumpfs command.
The last field is the fsck pass number; this number indicates in what order the partition will be checked by fsck. Partitions on different physical drives may be checked at the same time. This field value is not used on remote file systems.
Support Information Services