2003-11-13 21:34:36 +07:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2004-06-26 15:18:17 +07:00
|
|
|
# The first matching line found is used. Short matches match longer ones,
|
2003-11-13 21:34:36 +07:00
|
|
|
# if you do not want such a match space fill the extra bytes. If no model
|
|
|
|
# is specified, only the vendor string need match.
|
|
|
|
#
|
2004-06-26 15:18:17 +07:00
|
|
|
# The "options" line is searched for when scsi_id starts up, and is
|
|
|
|
# primarily for use with hotplug.
|
2003-11-13 21:34:36 +07:00
|
|
|
#
|
|
|
|
# options=<any scsi_id command line options>
|
|
|
|
#
|
|
|
|
# vendor=string[,model=string],options=<per-device scsi_id options>
|
|
|
|
|
|
|
|
#
|
2004-01-17 13:03:50 +07:00
|
|
|
# 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).
|
2003-11-13 21:34:36 +07:00
|
|
|
#
|
|
|
|
options=-b
|
|
|
|
|
|
|
|
#
|
|
|
|
# Then white list devices on your system that have correct and useful id's:
|
|
|
|
#
|
|
|
|
vendor=someone, model=nicedrive, options=-g
|
|
|
|
|
2004-06-26 15:18:17 +07:00
|
|
|
# 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:
|
2003-11-13 21:34:36 +07:00
|
|
|
|
|
|
|
## options=-g
|
|
|
|
|
|
|
|
# Then black list any offenders. Missing entries here could be dangerous
|
2004-06-26 15:18:17 +07:00
|
|
|
# if you rely on the id for persistent naming or multi-path configuration.
|
2003-11-13 21:34:36 +07:00
|
|
|
|
|
|
|
## vendor=ELBONIA, model=borken, options=-b
|