chvfs Command

Purpose

Changes entries in the /etc/vfs file.

Syntax

chvfs VFSEntry

Description

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

Any of the entries in the VFSEntry can be null (empty), with the exception of the VFSName field, and the corresponding value will not be changed. If all of the arguments are satisfactory, the entry in the /etc/vfs file is changed.

Parameters

Item Description
VFSEntry 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 change the FileSystemHelper for the vfs entry named newvfs, enter:

chvfs "newvfs:::/etc/helper/testhelper"

The missing parameters are left unchanged.

Files

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