Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ vfstab(4) — SunOS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsck(1M)

mount(1M)

swap(1M)

setmnt(1M)

getvfsent(3C)

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:

devicemountFSfsckmountmount
to mountpointtypepassat bootoptions

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 are 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), swap(1M), setmnt(1M), getvfsent(3C)
Chapter 5 in SunOS 5.1 Routine System Administration Guide

SunOS 5.1  —  Last change: 18 Dec 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026