list-device Command

The list-device command 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 display in the configuration file. The current device is noted with the asterisk. The active device is noted with a plus sign.

Syntax

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

Parameter(s)

device.number  

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 the system printer via the spooler.

Example(s)

In the example below, the Owner column displays the PIB number that has use of the device, and an * 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).

list-device

Tape

 

Status

 

16 Feb 2003

 

14:30:40

#

 

Type

 

Density

 

Owner

 

Device Name

---------------------------------------------------------------------

0

|

Floppy

|

3 1/2" 1.44M

|

 

|

/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

|

 

|

 

|

/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

|

 

|

/home/tmp/floppy

11

|

Floppy

|

Pseudo Floppy

|

 

|

/n/dev/home/tmp/floppy

---------------------------------------------------------------------

See Also

chg-device Command

fuser Command

set-device Command

set-floppy Command

set-sct Command

t-select Command

t-stat Command

t-verify Command

tape Modifier

u313c User Exit