scsidev builds a list of devices on your SCSI busses and creates device nodes to access them. The names are built based on their path, which is a 4-tuple consisting of the host adapter number, the channel number, the SCSI target ID, and the Logical Unit Number. Names build this way are much more persistent than the enumeration scheme used by the kernel (1st disk = sda, etc.). scsidev remembers the permissions of disappeared devices and restores the permissions properly when devices reappear. Optionally, it can create the devices as symbolic links to the main device nodes in /dev/, create missing device nodes, and handle missing permissions on the /dev/ nodes. You can assign alias names based on various pieces of information, such as vendor and model name. It also supports retrieving the serial number, the WWID, and the HSV OS ID and allows assigning names based on this information, thus providing a unique identification.
|Operating Systems||POSIX Linux|
Release Notes: scsidev did not use the 2.6 kernel's sysfs info for tapes, resulting in missing tape devs. This has been fixed. scsidev now also uses the SG_IO interface if available rather than the old sg interface. The parser for the 0x83 VPD INQ page has been taught to parse AAN and EUI-64 and also the binary pre-SPC format.
Release Notes: Many small bugs were fixed. sysfs has changed somewhat, and scsisdev has been adapted accordingly. Some limits have gone as well: longer host adapter names and partition names are possible now. A few bugfixes (dump page lengths, block vs. char dev creation, SCSI dev type overwriting in serial no retrieval, removal of the testdev dev node, and channel specification in scsi.alias) have been necessary. The quiet option works better now. To test missing sysfs support, -y has been added. ASCII T10 date from EVP INQ 0x82 can be displayed as well. scsi.alias can be placed elsewhere.
Release Notes: A change in 2.29 that ensured that the oldnames (used in symlink mode) were correctly set for hard disk partitions had been lost in the previous release. This has now been fixed.
Release Notes: scsidev now supports 2.6 kernels. The information that is added to /proc/scsi/scsi by the scsi-many patches is gathered from sysfs, excepting the information needed for char devices, which is missing. HSV OS IDs are now retrieved and can be used to assign aliases. Old names can be optionally built for SCSI CD-ROMs with scd instead of sr. The documentation was improved, and bugfixes were made.