vfs File

Purpose

Describes the virtual file systems (VFS) installed on the system.

Description

The /etc/vfs file describes the virtual file systems installed on the system. The name, type number, and file-system helper program are among the types of information listed in the file. Commands, such as the mount command, the fsck command (file system check), and the mkfs command (make file system), use this information.

The vfs file is an ASCII file, with one record per line. The following are examples of the three types of lines in the vfs file:

The comments are in text for explanatory purposes. The general control lines, which are designated by a % (percent) character, configure the actions of the following commands:

For example, a line like %defaultvfs indicates the default local virtual file system is used if no VFS is specified by the mount command or in the /etc/filesystems file. The entry is the name of the VFS as indicated in the file. If a second entry is listed on the same line, it is taken to be the default remote VFS. The %defaultvfs control line may leave off the remote VFS specification.

The VFS entries take the following form:

Item Description
name Canonical name of this type of virtual file system.
type Decimal representation of the virtual file system type number for the VFS.
mnt_helper Path name of the mount helper program of this VFS. If a mount helper is not required, the entry should be displayed as none. If this path name does not begin with a slash, it is relative to the /sbin/helpers directory.
fs_helper Path name of the file system helper program of this VFS. If a file system helper is not required, the entry should be none. If this path name does not begin with a slash, it is relative to the /sbin/helpers directory.

Files

Item Description
/etc/filesystems Lists the known file systems and defines their characteristics.