tcl.list-device Verb: Access/TCL

tcl.list-device

Command tcl.list-device Verb: Access/TCL
Applicable release versions: AP/Unix
Category TCL (746)
Description displays the currently defined devices.

The devices listed may be used as 'tape' devices through the "set-half", "set-sct", "set-floppy" or "set-device" commands.

Devices are numbered from 0 to 15 as they appear in the configuration file. The current device is noted with an "*".

"device.number" is the device number to list, from 0 to 9. If not specified, all currently defined devices are listed.

When using the (l) option to display long form, the following additional elements are displayed:

Blk=xxx Default block size, in bytes.

Opt='XXX' Device options:

s Short label. Valid only on 8mm tape. This option indicates that the device will write Pick labels in 80-byte blocks, and will attempt to read Pick labels in 80-byte blocks. This option may be necessary to exchange 8mm tapes with non-AP systems. A tape written on a device which has the "s" option set cannot be read without this option. The default is to write the 80-byte label in a 512-byte block. This option can be changed by the "chg-device" command.

r Immediate rewind. On some Unix implementations, some devices support an immediate rewind, which means control is returned to the process immediately, without having to wait for the rewind to complete.

l Link field on tape for ABS restore. This option is an internal flag used at boot time when restoring an ABS from this device.
Syntax list-device {device.number} {(options}
Options h Suppresses header display. Only devices are displayed.


l Long form. Displays additional information in the OPTIONS field.

p Directs output to system printer, via the spooler.
Example
:list-device

VIRTUAL MACHINE "pick0:prod0" TAPE DEVICES
     DEVICE          TYPE          OPTIONS
    -----------  --------------  ------------               
  0 /dev/rfd0h    Floppy         3 1/2" 1.44M
  1 /dev/rfd0l    Floppy         3 1/2" 720K
  2 /dev/rfd1.15  Floppy         5 1/4" 1.2M
  3 /dev/rfd1.9   Floppy         5 1/4" 360K
  4 /dev/rmt0.1   Quarter Inch   High density
  5 /dev/rmt0.5   Quarter Inch   Std density
* 6 /dev/rmt1.1   8mm Tape       
  7 /dev/px.gate  Network
Purpose
Related tcl.set-floppy
tcl.t-verify
ue.313c
tcl.chg-device
access.tape
tcl.fuser
tcl.config.tape
tcl.t-select
tcl.t-stat
tcl.set-device
tcl.set-sct