KFS(4) KFS(4) NAME kfs - disk file system SYNOPSIS disk/kfs [-rc] [-b n] [-f file] [-n name] [-s] DESCRIPTION Kfs is a local user-level file server for a Plan 9 terminal with a disk. Kfs begins by checking the file system for consistency, rebuilding the free list, and placing a file descriptor in /srv/service, where service 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 b n If the file system is reamed, use n byte blocks. Larger blocks make the file system faster and less space efficient. 1024 and 4096 are good choices. N must be a multiple of 512. c Do not check the file system. f file Use file as the block storage file. The default is /dev/hd0fs. n name Use kfs.name as the name of the service. r Ream the file system, erasing all of the old data and adding all blocks to the free list. s Post file descriptor zero in /srv/service and read and write protocol messages on file descriptor one. EXAMPLES % kfs -rb4096 -nlocal % mount -c /srv/kfs.local /n/kfs Create a file system with service name kfs.local and mount it on /n/kfs. FILES /dev/hd0fs Default file holding blocks. SEE ALSO kfscmd(8), mkfs(8), prep(8), hard(3) Page 1 Plan 9 (printed 9/8/24) KFS(4) KFS(4) BUGS This file system is known to be unreliable and shouldn't be depended on. Page 2 Plan 9 (printed 9/8/24)