Specifications
CHAPTER 3
LaserWriter Pro Software
42 Interpreter Parameters
Table 3-11 lists the parameters common to all FileSystem devices.
Table 3-11 Parameters common to all FileSystem devices
Key Type Details
Free integer Read only. Indicates the amount of free space (in pages for
disks, and bytes for cartridges) on the media device.
Legal values: Any non-negative integer
Errors: None
HasNames boolean Read only. Indicates whether the device supports files. If
false, the device is a single entity of data.
Legal values: true, false
Errors: None
InitializeAction integer Specifies an action for initializing the device.
The following values are valid for disks:
0 indicates no action, and it is the value returned when the
parameters is read.
1 indicates that the current file system (if there is one)
should be deleted, and a new one of the size specified
Logical Size be created.
2 reformats the entire medium before creating a new file
system of the size specified by LogicalSize.
3 or greater has the same effect as the value 2, and it also
carries out product-dependent actions, which typically
consist of reformatting the disk and running integrity
tests before creating the file system. Some devices can
have additional parameters that serve as arguments to
InitializeAction.
The following values are valid for cartridges:
0 indicates no action, and it is the value returned when the
parameters is read.
1 reformats the entire medium before creating a new files
system of the size specified by PhysicalSize.
Legal values: Any non-negative integer
Errors: None
LogicalSize integer When set, specifies the size of the file system to be
created. It is used as an argument to the action carried
out by InitializeAction. If LogicalSize is 0,
InitializeAction uses a default size that is normally the
size of the entire device. See also InitializeAction.
When queried, this parameter indicates the current size of
the file system on the device (in pages for disks, bytes for
cartridges). A value of 0 indicates that there is no valid
file system.
continued










