NAME
kfs – disk file system |
SYNOPSIS
disk/kfs [ –rc ] [ –b n ] [ –f file ] [ –n name ] [ –p perm ] [ –s ]
[ –B nbuf ] |
DESCRIPTION
Kfs is an old, local user–level file server for a Plan 9 terminal
with a disk. It maintains a hierarchical Plan 9 file system on
the disk and offers 9P (see intro(5)) access to it. Kfs begins
by checking the file system for consistency, rebuilding the free
list, and placing a file descriptor in /srv/name, where name is
the
service name (default kfs). If the file system is inconsistent,
the user is asked for permission to ream (q.v.) the disk. The
file system is not checked if it is reamed.
The options are |
EXAMPLES
Create a file system with service name kfs.local and mount it
on /n/kfs.
|
FILES
/dev/sdE0/fs Default file holding blocks. |
SOURCE
/sys/src/cmd/disk/kfs |
SEE ALSO
fossil(4), kfscmd(8), mkfs(8), prep(8), sd(3) |
BUGS
For the moment, kfs serves both the old (third edition) and new
(fourth edition) versions of 9P, deciding which to serve by sniffing
the first packet on each connection.
Kfs doesn't allow creating files with component names longer than
28 bytes. |