(v13) Prefix device
This page applies to Harlequin v13.1r0 and later; and to Harlequin Core but not Harlequin MultiRIP
The new Prefix device (device number 19) is built into the RIP core. It provides essential support for using the Union device. The Prefix device is conceptually simple: it allows a sub-hierarchy of a filesystem to be referred to using shorter and simpler names. When accessing files, the Prefix device prepends its prefix to the filename and passes the operation to the underlying device. All other operations, except for setting and getting the /Prefix
device parameter itself, are passed to the underlying device.
HHR now uses Prefix device mounts for all sub-hierarchies of the %os%
device that it mounts at start, including the default %tmp%
location. If these or other sub-paths of %os%
are mounted, it is important to use a Prefix device to mount the path so it can function with a Union device as %os%
device.
Prefix devices can be mounted recursively on top of each other.