VolumeDescObject:
TYPE =
RECORD[
next: VolumeDesc, -- for linked list
vName: Rope.ROPE, -- name of this volume
prefix: Rope.ROPE, -- "[]<vName>" for use in lock table (NIL for system volume)
vol: File.Volume, -- volume id
tree: BTree.Tree, -- directory/cache BTree for the volume
treeVM: BTreeVM.Handle -- storage object for the BTree
];
GetVolumeDesc:
PROCEDURE [vName: Rope.
ROPE ←
NIL] RETURNS [VolumeDesc];
Returns a VolumeDesc for the named volume. NIL means the system volume for this Cedar instance. Will generate FS.Error[$unknownVolume] if the a named volume cannot be located, except that if the system volume is desired and no system volume is defined, then NIL is returned.