mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-11-01 00:51:08 +03:00
50be140174
This patch is to enable the use of scsi_id to derive a UID for a SCSI-2 device which is not compliant with the page 83 inquiry reply format for either SPC-2 or SPC-3. In this case, the page 83 reply does not contain a list of Identification descriptors but a single binary encoded hexa-decimal Vendor Specified Identifier. The update is being driven by the need for scsi_id to support older model EMC Symmetrix hardware, that is, models 4, 5, and 6.
49 lines
1.7 KiB
Plaintext
49 lines
1.7 KiB
Plaintext
#
|
|
# Informational and example scsi_id.config file for use with scsi_id.
|
|
#
|
|
|
|
# General syntax is:
|
|
#
|
|
# lower or upper case has no affect on the left side. Quotes (") are
|
|
# required if you need spaces in values. Model is the same as the SCSI
|
|
# INQUIRY product identification field. Per the SCSI INQUIRY, the vendor
|
|
# is limited to 8 bytes, model to 16 bytes.
|
|
#
|
|
# The first matching line found is used. Short matches match longer ones,
|
|
# if you do not want such a match space fill the extra bytes. If no model
|
|
# is specified, only the vendor string need match.
|
|
#
|
|
# The "options" line is searched for when scsi_id starts up, and is
|
|
# primarily for use with hotplug.
|
|
#
|
|
# options=<any scsi_id command line options>
|
|
#
|
|
# vendor=string[,model=string],options=<per-device scsi_id options>
|
|
|
|
#
|
|
# If you normally don't need scsi id's, or might be attaching devices of
|
|
# an unknown functionality, black list everyone. This is the default
|
|
# behaviour (if no -b or -g is specified).
|
|
#
|
|
options=-b
|
|
|
|
#
|
|
# Then white list devices on your system that have correct and useful id's:
|
|
#
|
|
vendor=someone, model=nicedrive, options=-g
|
|
|
|
# If you know all the scsi devices on your system support valid id's,
|
|
# remove the options=-b line, and mark all devices as good:
|
|
|
|
## options=-g
|
|
|
|
# Then black list any offenders. Missing entries here could be dangerous
|
|
# if you rely on the id for persistent naming or multi-path configuration.
|
|
|
|
## vendor=ELBONIA, model=borken, options=-b
|
|
|
|
# EMC SYMMETRIX models 4 and 5, and some model 6 systems return the VSI
|
|
# field of the page 83 reply according to SCSI-2 format. This format is
|
|
# binary encoded hexa-decimal as opposed to the Identifiscation descriptor
|
|
# utilized by both SPC-2 and SPC-3 compliant systems.
|