KFSCMD(8) System Manager's Manual KFSCMD(8)

kfscmd - kfs administration

disk/kfscmd [-n name] cmd ...

Kfscmd issues commands to a kfs (4) server that was started with the -n option to create a control file. Kfscmd's own -n option names the file system to which the cmd applies; it is main by default.

The known commands are described below. Note that some commands are multiple words (eg, check and its flags) and should be quoted to appear as a single argument to sh (1).

Turn permission checking off (to simplify administration). Equivalent to the -P and -W options to kfs (4).
Turn permission checking on (again).
write to disk all of the dirty blocks in the memory cache.
Reinitialise authentication information by reading /adm/users.
Check the file system and print summary information. The options are
fix bad tags and clear the contents of the block.
delete redundant references to a block.
rebuild the list of free blocks.
print the names of directories as they are checked.
print the names of all files as they are checked.
quiet mode: report errors, but suppress summary information.
read all of the data blocks and check the tags.
fix bad tags.
write all of the blocks that are touched.

/appl/cmd/disk/kfscmd.b

sd (3), kfs (4), mkfs (8)