Skip to content

Commit

Permalink
scripts/00-scsi-sg3_config.rules : apply #42
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1052 6180dd3e-e324-4e3e-922d-17de1ae2f315
  • Loading branch information
doug-gilbert committed Sep 28, 2023
1 parent ba988cb commit ddbe142
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Each utility has its own version number, date of last change and
some description at the top of its ".c" file. All utilities in the main
directory have their own "man" pages. There is also a sg3_utils man page.

Changelog for pre-release sg3_utils-1.49 [20230926] [svn: r1050]
Changelog for pre-release sg3_utils-1.49 [20230928] [svn: r1051]
- apply https://github.com/doug-gilbert/sg3_utils/pull/39
and its revision [20230807] mainly for Android
- sg_inq: update version descriptors to T10 table 20230814
Expand All @@ -12,6 +12,8 @@ Changelog for pre-release sg3_utils-1.49 [20230926] [svn: r1050]
- lib/sg_pt_solaris.c : fix compilation issue per
https://github.com/doug-gilbert/sg3_utils/pull/41
- add --mfile=MF option for decoding mask in the MF file
- scripts/00-scsi-sg3_config.rules : apply
https://github.com/doug-gilbert/sg3_utils/pull/42
- testing/sg_chk_inq_vd.c: test internal table against T10
version descriptor file

Expand Down
12 changes: 12 additions & 0 deletions scripts/00-scsi-sg3_config.rules
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,23 @@ LABEL="scsi_identify"
ENV{ID_SCSI_INQUIRY}=""

# Set enabled unreliable sources for setting the ID_SERIAL property.
# Set this variable to any combination of the capital letters "LTVS".
# See 55-scsi-sg3_id.rules for detailed documentation.
ENV{.SCSI_ID_SERIAL_SRC}="T"
IMPORT{cmdline}="udev.scsi_id_serial_src"
# Allow the user to override ID_SERIAL settings using "udev.scsi_id_serial_src=..."
ENV{udev.scsi_id_serial_src}=="?*", \
ENV{.SCSI_ID_SERIAL_SRC}="$env{udev.scsi_id_serial_src}", \
ENV{udev.scsi_id_serial_src}=""

# Set enabled unreliable sources for creating additional /dev/disk/by-id/scsi* symlinks.
# Set this variable to any combination of the capital letters "LTVS".
# See 58-scsi-sg3_symlink.rules for detailed documentation.
ENV{.SCSI_SYMLINK_SRC}=""
# Allow the user to override symlinks settings using "udev.scsi_symlink_src=..."
IMPORT{cmdline}="udev.scsi_symlink_src"
ENV{udev.scsi_symlink_src}=="?*", \
ENV{.SCSI_SYMLINK_SRC}="$env{udev.scsi_symlink_src}", \
ENV{udev.scsi_symlink_src}=""

LABEL="scsi_identify_end"

0 comments on commit ddbe142

Please sign in to comment.