Installation guide

_______________________ Note _______________________
To change a file system’s mount status, use the mount command
with the u option. This is useful if you try to reboot and the
/etc/fstab file is unavailable.
If you try to reboot and the /etc/fstab file is corrupted, use a
command similar to the following:
# mount -u /dev/rz0a /
The /dev/rz0a device is the root file system.
The operating system uses the UFS for the root file system. The operating
system supports only one root file system from which it accesses the
executable kernel (/vmunix) and other binaries and files that it needs to
boot and initialize. The root file system is mounted at boot time and cannot
be unmounted.
The /etc/fstab file contains descriptive information about file systems
and swap space and is read by commands such as the mount command.
When you boot the system, the /etc/fstab file is read and the file
systems described in the file are mounted in the order that they appear in
the file. A file system or swap space is described on a single line;
information on each line is separated by tabs or spaces. Refer to the
swapon
(8) reference page for more information about adding swap space.
The order of entries in the /etc/fstab file is important because the mount
and umount commands read the file entries in the order that they appear.
You must be root user to edit the /etc/fstab file. To apply the additions
that you make to the file, use the mount a command. Any changes you
make to the file become effective when you reboot.
The following is an example of an /etc/fstab file:
/dev/rz2a / ufs rw 1 1
/dev/rz0g /usr ufs rw 1 2
/dev/rz2b swap1 ufs sw 0 2
/dev/rz0b swap2 ufs sw 0 2
/dev/rz2g /var ufs rw 1 2
/usr/man@tuscon /usr/man nfs rw,bg 0 0
proj_dmn#testing /projects/testing advfs rw 0 0
1 2 3 4 5 6
Administering the UNIX File System 7–17