...
Open a terminal console and issue:
|
The output will look something likeOutput example:
[0:0:0:0] disk VMware Virtual disk 1.0 /dev/sda /dev/sg0 [0:0:10:0] tape COMPAQ SDLT320 5F5F /dev/st0 /dev/sg9 [0:0:11:0] tape COMPAQ SDLT320 5F5F /dev/st1 /dev/sg10 [0:0:12:0] mediumx COMPAQ MSL5000 Series 0520 /dev/sch0 /dev/sg11 |
...
# cat /proc/scsi/sg/device_hdr; cat /proc/scsi/sg/devices |
The output will look something likeOutput example:
|
The fifth field column ("type") is the device type.value has the following correspondence:
Value | Device |
---|---|
0 | Disk |
1 | Tape |
5 | CD-ROM |
8 | Tape changer |
The "N" in the "/dev/sgN" device is the line number in this table (starting from 0) corresponded to the devices CHARON-AXP will use.Thus corresponding to the output provided by the commands above without taking the header into account so here "/dev/sg0" will be corresponds to the the CD-ROM mapping in this example.
Include Page | ||||
---|---|---|---|---|
|
...