This document describes the external interface to the MultiFS system.

This description describes the interface as presented by FileSwitch to programs.

All ordinary files will be presented to the external world as they are currently.

All ordinary directories will be presented to the external world as they are currently - as filetype FFD (Data).

The object type will be extended in its meaning:

Bit     Meaning
0       Object can be used like a file
1       Object can be used like a directory
which means that:
0       Object not present (can't use it like a file or a directory)
1       Object is a straight file
2       Object is a straight directory
3       Object is a MultiFS file (both file, and directory)

As a consequence of this a MultiFS file will be openable as any normal file would be, and it will be enumerable as any ordinary directory's contents would be. Deleting a MultiFS file will first check whether it has files in it - the delete will be bounced back if the file is not empty.