Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cfs(4)

cfst(8)

cmount(8)

CFSI(8)  —  Maintenance

NAME

cfsi, cfse − composite file system maintenance

SYNOPSIS

cfsi model volume [... volume]

cfse model volume [... volume]

DESCRIPTION

cfsi includes one or more external volumes into a cfs model. cfse excludes one or more external volumes from a cfs model. model is the model directory of a composite file system (see cfs(4)).  volume is the mount point of an external volume. 

cfsi scans the directory tree on each volume and creates directories and transparent links as needed to mirror the structure of the volume in the model. In the process, it verifies that the attributes of directories already present in the model exactly match those encountered on each volume, and that the names of files on any volume do not conflict with the names of files or links already present in the model. If a directory attibute or file name conflict occurs on any volume, that volume is not included.

Whenever a directory is created in the model, an entry is appended to the directory index file identifying the index node (inode) number of the directory with the full path name of that directory relative to the model. As each volume is included, the volume name is appended to the tally files in the model corresponding to every directory on that volume. If a creation interlock is discovered in the model, it is removed after all volumes have been included (see cfst(8)). 

cfse scans the directory tree on each volume and removes links to files on that volume from the model, along with any directories in the model that become empty in the process.  As each volume is excluded, the volume name is deleted from the tally files corresponding to every directory on that volume.  Whenever a directory is removed from the model, the corresponding tally file is also removed, and the entry for that directory is deleted from the directory index file. 

FILES

model/.= directory index map

model/.:/<index> per-directory tally

model/.#/<index> transparent "alias"

model/.%/<index> duplicate file link

model/.! creation interlock

SEE ALSO

cfs(4), cfst(8), cmount(8)

  —  30 September 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026