crvfs Command

Purpose

Creates entries in the /etc/vfs file.

Syntax

crvfs VFSEntry

Description

The crvfs command adds /etc/vfs file entries by specifying fields within the VFSEntry parameter. The VFSEntry parameter is composed of the following fields: VFSName:VFSNumber:MountHelper:FileSystemHelper.

All fields in the VFSEntry parameter are required, but the reserved word "none" can be specified for the MountHelper and FileSystemHelper fields if there is no corresponding helper. If all the arguments are satisfactory, and neither the VFSName nor the VFSNumber given on the command line already exist, a new entry is created in the /etc/vfs file.

Parameters

Item Description
VFSEntry Specifies a string in the following format: VFSName:VFSNumber:MountHelper:FileSystemHelper
VFSName
Specifies the name of a virtual file system type.
VFSNumber
Specifies the virtual file system type's internal number as known by the kernel.
MountHelper
Specifies the name of the backend used to mount a file system of this type.
FileSystemHelper
Specifies the name of the backend used by certain file system specific commands to perform operations on a file system of this type.

Security

Attention RBAC users and Trusted AIX® users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

Examples

To create a new vfs entry called newvfs, enter:

crvfs "newvfs:4:none:/etc/helpers/newvfshelper"

This creates the newvfs entry.

Files

Item Description
/etc/vfs Contains descriptions of virtual file system types.