System information
The Ext field counts the number of physical extents allocated to the file. The Ext count
corresponds to the number of directory entries given to the file. Depending on allocation size,
there can be up to 128K bytes (8 logical extents) directly addressed by a single directory entry. In
a special case, there are actually 256K bytes that can be directly addressed by a physical extent.
The Acc field gives the R/O or R/W file indicator, which you can change using the commands
shown. The four command forms,
STAT d:filename.typ $R/O
STAT d:filename.typ $R/W
STAT d:filename.typ $SYS
STAT d:filename.typ $DIR
set or reset various permanent file indicators. The R/O indicator places the file, or set of files, in
a Read-Only status until changed by a subsequent STAT command. The R/O status is recorded in
the directory with the file so that it remains R/O through intervening cold start operations. The
R/W indicator places the file in a permanent Read-Write status. The SYS indicator attaches the
system indicator to the file, while the DIR command removes the system indicator. The
filename.typ may be ambiguous or unambiguous, but files whose attributes are changed are listed
at the console when the change occurs. The drive name denoted by d: is optional.
1.6 Transient Commands CP/M Operating System Manual
1-20