Plan 9 - man page for kfscmd (plan9 section 8)
|Linux & Unix Commands - Search Man Pages
kfscmd, ksync - kfs administration
disk/kfscmd [-n name] cmd ...
Kfs is a local user-level file server for a Plan 9 terminal with a disk. Kfscmd transmits
commands to the kfs server (see kfs(4)). The -n option changes the name of the kfs ser-
vice to kfs.name (by default, full name is just kfs).
Ksync executes the sync command for all active kfs servers.
The known commands are described below. Note that some commands are multiple words and
should be quoted to appear as a single argument to rc(1).
allow Turn permission checking off (to simplify administration).
disallow Turn permission checking on.
halt write all changed blocks and stop the file system.
help print the list of commands.
rename file name
Change the name of file to name.
Add user to /adm/users and make the standard directories needed for booting.
Remove file and place its blocks on the free list.
clri file Remove file but do not place the blocks on the free list. This command can be
used to remove files that have duplicated blocks. The non-duplicate blocks can
be retrieved by checking the file system with option f (see below).
create file owner group mode [adl]
Create the file. Owner and group are users in /adm/users and mode is an octal
number. If present, creates an append only file, creates a directory, and cre-
ates a file that is exclusive-use.
sync write to disk all of the dirty blocks in the memory cache.
stats Report statistics about the performance of the file system.
user Re-initialize authentication information by reading /adm/users.
Check the file system. The options are
p print the names of directories as they are checked.
P print the names of all files as they are checked.
r read all of the data blocks and check the tags.
f rebuild the list of free blocks.
d delete redundant references to a block.
t fix bad tags.
c fix bad tags and clear the contents of the block.
w write all of the blocks that are touched.
kfs(4), mkfs(8), prep(8), wren(3)
All times are GMT -4. The time now is 03:52 PM.