list-device

list-device


list-conn Index Level list-dict
Syntax list-device {device.number} {(options}
Category TCL
Type Verb
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 "*". The active device is noted with a "+".

"device.number" is the device number to list, from 0 to 9. If not specified, all currently defined devices are listed.
Options h  Suppresses header display. Only devices are displayed.

p  Directs output to system printer, via the spooler.
See Also set-floppy t-verify u313c chg-device tape fuser config tape t-select t-stat set-device set-sct
Example :list-device

Tape        Status           16 Jan 1997  14:30:40                            
#   Type             Density           Owner   Device Name                   
----------------------------------------------------------------------
0 | Floppy         | 3 1/2" 1.44M    | 191*+ | /dev/rpdsk/4                  
1 | Quarter Inch   | High            |       | /dev/rmt/0n                   
2 | 4mm DAT        |                 |       | /dev/rmt/1n                   
3 | 4mm DAT        |                 |       | /dev/rmt/1un                  
4 | 8mm Tape       |                 |       | /dev/rmt/2n                   
5 | 8mm Tape       |                 | 141   | /dev/rmt/2un                  
6 | Floppy         | Pseudo Floppy   |       | /usr/opt/pick/bin/abs         
7 | Floppy         | Pseudo Floppy   |       | /usr/opt/pick/bin/data
8 | Floppy         | Pseudo Floppy   |       | /usr/opt/pick/bin/ref
9 | Network        |                 |       | /home/tmp/pipein              
10 | Floppy         | Pseudo Floppy   | 191*  | /home/tmp/floppy              
11 | Floppy         | Pseudo Floppy   |       | /n/dev/home/tmp/floppy        
----------------------------------------------------------------------

The "Owner" column displays the pib number that has use of the device, and a "*" indicates that this pib is the current process. A "+" indicates that this device is the "active" device (as a pib can attach more than one device).
Warnings
Compatibility D3/Unix AP 6.1 D3 7.0
list-conn Index Level list-dict