Plan B User's Manual


Name

fs ­ Native file system boxes.

Synopsis

/b/fs

Description

The native file system interfaces foreign file systems to Plan B. It exports files/directories as boxes and uses files/directories to implement newly created boxes.

It advertises different boxes with appropriate constraints to the network and permits the creation of persitent boxes by storing them on files. The implementation is suitable for usage on any conventional file system.

Permissions and other metadata are mapped to those of the native file system employed.

Box information for boxes using files created by means of make(2) is kept on auxiliary files.

Announces

/b/fs/*/bin as /bin.

/b/fs/*/lib as /lib.

/b/fs/usr as /usr.

/b/fs as /.

Source

/src/b/*/fsbox.c

Bugs

The implementation can create boxes that do not have inner boxes. It should be able to replace a file with a directory instead—as soon as inner boxes are required.

The implementation does not handle link(2) requests.



Plan B User's Manual. First edition.