Information about the devices seen by your system is available in the file |/proc/scsi/scsi.This file contains a list of every recognized SCSI device. For example, if a system contains some StorageTek and IBM libraries, a SAN Gateway, and some Quantum DLT drives, the /proc/scsi/scsi file will look similar to this:
Attached devices:|
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: STK Model: 9738 Rev: 2003
Type: Medium Changer ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 01 Lun: 02
Vendor: PATHLIGHT Model: SAN Gateway Rev: 32aC
Type: Unknown ANSI SCSI revision: 03
etc.....
From this listing, the type of devices, as well as the model name, vendor, and SCSI channel and ID data is available.
Ingen kommentarer:
Legg inn en kommentar