tcl.list-device

Verb: Access/TCL, Releases: AP/Unix

Lists Unix devices used as 'tapes'.

Syntax

list-device {device.number} {(options}

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.

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

See Also

Command Name Type Description
tcl.set-floppy Verb: Access Attaches floppy diskette drive to current process.
tcl.t-verify Verb: Access Validates contents of save tape.
ue.313c User Exit Returns the diskette drive type and density selected.
tcl.chg-device Verb: Access Changes a device.
access.tape Modifier Produces Access report from magnetic media.
tcl.fuser Verb: Access Display ownership info on a device.
tcl.config.tape Menu Configure tapes.
tcl.t-select Verb: Access Attaches a 'tape' device.
tcl.t-stat Verb: Access reports the current attachment status of all tape devices.
tcl.set-device Verb: Access Attaches device (sct/floppy/half) on AIX.
tcl.set-sct Verb: Access Attaches streaming cartridge tape to current process.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.