User`s guide

DIRECTORY
where:
dd specifies the day (a decimal integer in the range 1–31).
mmm specifies the first three characters of the name of the month.
yy specifies the year (a decimal integer in the range 73–99).
The default value for the date is the current system date. If you omit any of these
values (dd, mmm, or yy), RT–11 uses the values from the current system date. For
example, if you specify only the year 90 and the current system date is May 4, 1991,
RT–11 uses the date 4:MAY:90. If the current date is not set, RT–11 considers it 0
(the same as for an undated file in a directory listing).
If you have selected timer support through the system generation process, but have
not selected automatic end-of-month date advancement, make sure that you set the
date at the beginning of each month with the DATE command. If you fail to set
the date at the beginning of each month, RT–11 displays -BAD- in the creation date
column of each file created beyond the end-of-month. (Note that you can eliminate
-BAD- by using the RENAME/SETDATE command after you set the date.)
Options
/ALLOCATE:size
Reserves space on the device for the output listing file. The argument size
represents the number of blocks of space to allocate. The meaningful range
for this value is from -1 to 65527. A value of -1 is a special case that creates the
largest file possible on the device.
/ALPHABETIZE
Lists the directory of the device you specify in alphabetical order by file name
and file type. It has the same effect as the /ORDER:NAME option. Note that
this option sorts numbers after letters.
/BADBLOCKS
Sometimes volumes (disks and diskettes) have bad blocks, or they develop bad
blocks as a result of use and age. Use the /BADBLOCKS option to scan a volume
and locate bad blocks on it. RT–11 displays the absolute block number of these
blocks on the volumes that return hardware errors when RT–11 tries to read
them. This procedure does not destroy data that is already stored on the volume.
Remember that block numbers are listed in both octal and decimal, and the first
block on a volume is block 0.
If a volume has no bad blocks, an informational message is displayed on the
terminal:
.DIRECTORY/BADBLOCKS DU1:
?DUP-I-No bad blocks detected DU1:
If /BADBLOCKS is the only option in the command line, the volume being
scanned does not need a valid RT–11 directory structure.
RT–11 Command Descriptions 87