cm setdevok(8dfs)

Specifies whether device files from specified filesets are honored by the Cache Manager

Synopsis

cm setdevok [-path {filename | directory_name}...] [-state {on | off}] [-help]

Options

-path {filename | directory_name}
Names a file or directory from each fileset whose device file status is to be changed. If this option is omitted, the status is changed for the fileset containing the current working directory.

-state
Specifies whether device files from the filesets indicated with -path are to be honored. Specify on with this option to honor device files from the indicated filesets; specify off with this option to prevent device files from the indicated filesets from being honored. If this option is omitted, device files from the filesets are honored (the command has no effect if device files were already honored).

-help
Prints the online help for this command. All other valid options specified with this option are ignored.

Description
The cm setdevok command specifies whether device files from the indicated filesets are honored by the Cache Manager. Indicate each fileset whose device files are to be honored or not honored by specifying the name of a file or directory in the fileset with the -path option. Device files are honored on a per-fileset and per-Cache Manager basis. This command is commonly included in a start-up file (/etc/rc or its equivalent) to honor device files at machine startup.

If on is specified with the -state option, or if the -state option is omitted, the Cache Manager honors device files from the indicated filesets. If off is specified with the -state option, the Cache Manager does not honor device files from the indicated filesets. By default, the Cache Manager does not honor device files from a fileset. (The UNIX kernel always honors device files stored in the /dev directory.)

The cm getdevok command displays whether the Cache Manager honors device files from indicated filesets.

Privilege Required
The issuer must be logged in as root on the local machine.

Examples
The following command causes device files that reside on the fileset that contains the directory /.../abc.com/fs/usr/jlw to be honored:

# cm setdevok /.../abc.com/fs/usr/jlw

Related Information
Commands: cm getdevok(8dfs)