The ubiquitous fs
in Plan9
The terms file server, file system and the abbreviationfs
appear a lot in Plan9 documentation. For example, there are the manpagesfs(3)
,fs(4)
,fs(8)
, andkfs(4)
.First
fs(4)
aka Ken's FS. This was a file server inside the kernel which required a specially built kernel and was used together with a dedicated CPU server and many terminals. It is not part of the kernel sources any more, but its manpage lives on. To add confusion, there is also a manpagefs(8)
for the console of Ken'sfs
.Then there is
kfs(4)
, a file system for terminals. It is implemented in user-space. No relation to Ken's FS besides the name. Strangely there seems to be no option to repair a brokenkfs
:If the file system is inconsistent, the user is asked for permission to ream (q.v.) the disk.
(reaming means deleting).
kfs
cannot be managed by a console like Ken'sfs
andfossil
, but by options to an executablekfscmd
. UPDATEkfscmd
has commands to repair a brokenkfs
.As another example for the non-injectivity of abbreviations, there's
fs(3)
which is not a file system at all, but a kind of soft-raid that allows concatenation, striping and (simple) mirroring of files, e.g. disks.On the fourth hand, there is
fossil
. This is the current default for CPU and File servers. It can be configured to move its blocks to an archival storage serverventi
. It is managed with its own consolefossilcons
which attaches itself not as/srv/fossilcons
but/srv/fscons
.
Wed, 09 Jul 2008
[/plan9]
permanent link