Fossil (file system)


Fossil is the default file system in Plan 9 from Bell Labs. It serves the network protocol 9P and runs as a user space daemon, like most Plan 9 file servers. Fossil is different from most other file systems due to its snapshot/archival feature. It can take snapshots of the entire file system on command or automatically. These snapshots can be kept on the Fossil partition as long as disk space allows; if the partition fills up then old snapshots will be removed to free up disk space. A snapshot can also be saved permanently to Venti. Fossil and Venti are typically installed together.

Features

Important features include:
To access a snapshot, one would connect to a running fossil instance and change directory to the desired snapshot, e.g. /snapshot/yyyy/mmdd/hhmm. To access an archive, a directory of the form /archive/yyyy/mmdds would be used. Plan 9 allows modifying the namespace in advanced ways, like redirecting one path to another path. This significantly eases working with old versions of files.
Fossil is available on several other platforms via Plan 9 from User Space.

History

Fossil was designed and implemented by Sean Quinlan, Jim McKie and Russ Cox at Bell Labs and added to the Plan 9 distribution at the end of 2002. It became the default file system in 2003, replacing Kfs and the previous Plan 9 archival file system, dubbed The Plan 9 File Server, or "fs". fs is also an archival file system which originally was designed to store data on a WORM optical disc system. The permanent storage for fossil is provided by Venti, which typically stores data on hard drives, which have much lower access times than optical discs.