Skip to content

mjl-/ffs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# status

can read an openbsd ffs1 file system, needs more testing and better
interpretation of data structures (e.g. frag/block sizes).


# intro

ffs is a read-only implementation of the bsd ffs as used on openbsd.
it only works on little endian systems, and probably only those
with 32 bit pointers.


# install

install package "util" first, see http://www.ueber.net/code/r/util.

make sure $ROOT is set.  now run "mk install" to compile and install the files.

when building from within inferno, insert SYSHOST=Inferno and ROOT=
in the mk invocations to override the values in the mkconfig.


# download

the latest version can be found at:

	http://www.ueber.net/code/r/ffs


# licence & author

all files are in the public domain.  this code has been written by
mechiel lukkien, reachable at mechiel@ueber.net or mechiel@xs4all.nl.


# todo

- find better specification, for other bsd's too
- which should we use super.fragsize?  currently it seems we have to use super.fragsize in places where i expected to need super.blocksize.
- which fields are used for fragments?  we're currently always reading from start of block.
- think about little vs big endian (currently little endian only).  it seems 32 vs 64 bit pointers might matter too...
- ufs2 support?
- direntry entry hashing for faster lookups
- is disklabel endian-dependent too?
- more testing

About

bsd ffs, limbo, from mercurial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published