1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
# Configuration for SCSI device identification
# To apply changes, copy this file to /etc/udev/rules.d and edit to suit your needs.
# DO NOT EDIT THIS FILE IN PLACE!
ACTION!="add|change", GOTO="scsi_identify_end"
SUBSYSTEMS=="scsi", GOTO="scsi_identify"
GOTO="scsi_identify_end"
LABEL="scsi_identify"
# Set ID_SCSI_INQUIRY to 0 to force running "sg_inq" for obtaining device IDs
# from SCSI VPDs, rather than looking them up in sysfs (not recommended).
ENV{ID_SCSI_INQUIRY}=""
# Set enabled unreliable sources for setting the ID_SERIAL property.
# See 55-scsi-sg3_id.rules for detailed documentation.
ENV{.SCSI_ID_SERIAL_SRC}="T"
# Set enabled unreliable sources for creating additional /dev/disk/by-id/scsi* symlinks.
# See 58-scsi-sg3_symlink.rules for detailed documentation.
ENV{.SCSI_SYMLINK_SRC}=""
LABEL="scsi_identify_end"
|