3 kfs \- disk file system
28 is an old, local user-level file server for a Plan 9 terminal with a disk.
29 It maintains a hierarchical Plan 9 file system on the disk
36 checking the file system for consistency,
37 rebuilding the free list, and placing a file descriptor in
41 is the service name (default
43 If the file system is inconsistent,
44 the user is asked for permission to ream
47 The file system is not checked if it is reamed.
53 If the file system is reamed, use
56 Larger blocks make the file system faster
57 and less space efficient.
63 must be a multiple of 512.
66 Do not check the file system.
78 as the name of the service.
83 as the initial permissions for the
85 .BI /srv/ service .cmd\fR;
89 Ream the file system, erasing all of the old data
90 and adding all blocks to the free list.
93 Post file descriptor zero in
95 and read and write protocol messages on file descriptor one.
100 in-memory file system blocks.
101 The default is as many as will fit in 10% of memory
102 or two megabytes, whichever is smaller.
105 Create a file system with service name
111 % disk/kfs -rb4096 -nlocal
112 % mount -c /srv/kfs.local /n/kfs
119 Default file holding blocks.
121 .B /sys/src/cmd/disk/kfs
130 serves both the old (third edition) and new (fourth
131 edition) versions of 9P, deciding which to serve by sniffing the first packet on each
135 doesn't allow creating files with component names longer than 28 bytes.