vfstab(4)
NAME
vfstab − table of file system defaults
DESCRIPTION
The file /etc/vfstab describes defaults for each file system. The information is stored in a table with the following column headings:
| device | device | mount | FS | fsck | mount | mount |
| to mount | to fsck | point | type | pass | at boot | options |
The fields in the table are space-separated and show the resource name, the raw device to fsck, the default mount directory, the name of the file system type, the number used by fsck to decide whether to check the file system automatically, whether the file system should be mounted automatically by mountall, and the mount options. A ’-’ is used to indicate no entry in a field.
The getvfsent(3C) family of routines is used to read and write to /etc/vfstab.
/etc/vfstab may also be used to specify swap areas. An entry so specified, (which can be a file or a device), will automatically be added as a swap area by the /sbin/swapadd script when the system boots. To specify a swap area, the device-to-mount field contains the name of the swap file or device, the FS-type is "swap", mount-at-boot is "no" and all other fields have no entry.
SEE ALSO
fsck(1M), mount(1M), mount_cachefs(1M), mount_hsfs(1M), mount_nfs(1M), mount_tmpfs(1M), mount_ufs(1M), swap(1M), setmnt(1M), getvfsent(3C)
Chapter 5 in Solaris 2.3 Administering File Systems
Sun Microsystems — Last change: 18 Dec 1991