forked from hreinecke/sg3_utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
1981 lines (1921 loc) · 95.5 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
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 [20230807] [svn: r1046]
- apply https://github.com/doug-gilbert/sg3_utils/pull/39
and its revision [20230807] mainly for Android
Changelog for released sg3_utils-1.48 [20230801] [svn: r1042]
- decoding utilities: add --json[=JO] and --js-file=JFN
options, short form changed to -j[=JO]
- sg_sat_datetime: new utility for setting or accessing
the data and time on a ATA device using a SAT layer.
- sg_z_act_query: new utility for sending either a
Zone activate or Zone query command
- sg_rep_density: new utility for decoding the response of
Report density support command [ssc (tape)]
- sg_rem_rest_elem: new utility for removing or restoring
elements
- sg_write_attr: new utility, Write Attribute is a SPC
command that is used mainly by tape drives (ssc)
- --hex option cleanup, especially in sg_inq and sg_vpd
- swap meaning of '-H' and '-HH' in sg_ses
- sg_rtpg: https://github.com/hreinecke/sg3_utils/pull/79
applied
- netbsd: experimental port, scsi only
- rescan-scsi-bus.sh: with '-r' it crashed due to change in
rev 867 in sg_inq.c from Device_type= to PDT= .
Change script to use either
- undo regression in rev 815 that added newline after
each LUN in the default (no option) output
- rev 815 changed the order of listing hosts from
numeric to alphabetical, change it back to numeric
- https://github.com/doug-gilbert/sg3_utils/pull/17
applied with tweaks: add timeout parameter
- clean $norm handling
- fix handling of '-I <secs>' option
- sgdevice26: do not traverse sg class if scsi_device
is not added
- add -no-lip-scan option
- https://github.com/doug-gilbert/sg3_utils/pull/21
- speed testonline() when peripheral_qualifier != 0
see https://github.com/doug-gilbert/sg3_utils/issues/24
- improve handling of USB SD card readers (with no cards
present)
- speed multipath scans with many LUNs, cache multipath
LUN info in temporary file, see
https://github.com/doug-gilbert/sg3_utils/issues/22
- udev rules: restrict use of ambiguous device IDs patchset
(3 part) from Martin Wilck applied
- sg_rep_zones: add Report zone starting LBA granularity
field in REPORT ZONES response [zbc2r12]
- add --brief option, show part of header and last
descriptor fetched
- add --find ZT option to find the first occurrence of
ZT; if ZT prefixed by - or ! find first not equal to ZT
- add --statistics option
- sg_get_elem_status: change '--maxlen=' option default to
1056 (header plus 32 physical element status descriptors)
- add current (maximum) number of depopulated elements
fields
- sg_get_lba_status: decode new LBA accessibility field
- sg_decode_sense: add --nodecode option
- sg_logs: tweak the meaning of --list option to more closely
reflect the contents of log pages 0x0 and 0x0,0xff
- make '-lll' set union of log pages 0x0 and 0x0,0xff
- add --exclude option to exclude vendor specific pages
and parameters
- add --undefined option for hex format of undefined/
unrecognized fields
- for short binary fields, remove address (index) from
the left hand side of each line of hex
- improve 'last_n' log pages; supply VPD and mode pages
with their name (if T10 defined)
- update names for TapeAlert lpage
- allow --page selection with --inhex=FN
- sg_modes: improve handling of zbc disks with pdt=0x14
- add --multiple option for all available page controls
- sg_inq, sg_vpd: merge VPD page processing for T10
defined pages, VS pages still differ
- add Capacity/Product identification mapping VPD page
- Device Identication VPD page, change
"IEEE Company_id" to "AOI" as per spc6r06.pdf
- add support for Hitachi/HP open-v ldev names
- sg_inq: add (many) version descriptors as per spc6r08
- add --quiet option, like the one sg_vpd has
- sg_vpd: apply github pull 18 (missing LF)
- add --sinq_inraw=RFN option
- sg_opcodes: cleanup error reporting
- add --inhex=FN to process earlier -HHH
- sg_format: allow disk formats on ZBC (zoned) disks
- sg_read_buffer: add --eh_code= and --no_output options
- sg_ses: add exp_sas_addr acronym for getting expander's
SAS address
- add json support
- extend --all so after join output, the remaining dpages,
not already shown in the join output, are output
- add --js-file= option to send json output to a file
- add --no-config option for debugging
- an index range now uses ':' as a separator; so 0:2
matches element indexes 0, 1, and 2 if present.
'-' is still accepted as a range separator.
- fix issue at end of additional element status dpage
- fix issue with indexing overall element for --get
- add logic to call Report timestamp on the enclosure
and report what is found. If this is problematic the
new --no-time option will turn off this feature
- sg_turs: change nanosleep() to Sleep() in MinGW
- see sg_lib below for two new exit status values
- add --ascq= option and exit status 36 if match
- add --timeout= option for command timeout
- sg_requests: add --timeout= option for command timeout
- sg_stream_ctl: fix --get indexing
- sg_map26: fix for disks beyond /dev/sdiv
- add mapping for bsg devices; recognize nvme devices
- sg_sat_read_gplog: add --address= option which is the
same as the --log= option. Both take an individual log
address, a range of them, or a list (of ranges)
- add --smart option to invoke ATA SMART READ LOG instead
of reading the General purpose log pages.
- add --ppt= option to limit the number of pages per
transfer
- add support for the SCSI ATA PASS-THROUGH(32) command
- sg_read_block_limits: fix granularity value
- add --mloi option
- inhex/logs_last_n.hex: new, tests for the 4 "Last n ..."
log (sub)pages
- sg_lib: add sg_pdt_s_eq() to cope with ZBC disks which may
be either PDT_ZBC (if host managed) or PDT_DISK
- add hex2fp(), similar to hex2str() but outputs to FILE
- add sg_has_control_char(), true when < 0x20 or DEL
- add sg_first_non_printable() based on 7 bit ASCII
- add sg_get_scsi_ansi_version_str()
- cleanup masks for PDT [0x1f] and group_number [0x3f]
- new sg_json_builder.[hc] files local to lib folder
- document internal json interface in include/sg_json.h
- add SG_C_CPP_ZERO_INIT to better handle aggregate stack
instance zeroing (C23 adding 'struct T t {};' will help)
- correct fixed format sense data command-specific field
for ata-passthrough (lba field), see:
https://github.com/doug-gilbert/sg3_utils/pull/25
- add sg_ll_read_block_limits_v2() for MLOI bit
- https://github.com/doug-gilbert/sg3_utils/pull/32 added
with tweaks; adds SG_LIB_CAT_STANDBY and
SG_LIB_CAT_UNAVAILABLE which refine the 'not ready'
exit status. Useful for sg_turs
- add SG_LIB_CAT_INVALID_PARAM exit status
- initialize all sense buffers to 0
- sg_pr2serr in sg_lib: add sg_scn3pr() similar to sg_scnpr()
- linux: replace references to /proc/scsi/sg with
/sys/module/sg/parameters/
- sg_pt_linux: support nvme generic device nodes: ng<c>n<n>
- rework main README file
- rev 921+922 are bugfix revs on release 1.47 [r919,920]
- configure.ac: map msys to mingw
- repeat tweak to accept uclinux as linux
- sgp_dd and sgm_dd: add --progress option
- sg_dd: change uint type to uint32_t
- remove unused out2_off in main()
- add support for accessing NVMe devices via pass-through
- sg_pt_dummy.c: remove problematic include
- linux musl libc: changes so musl libc will build
- sg3_utils.spec: change tarball extension from .tgz to
.tar.gz ; fix build issue with Fedora 36
- build cleanups for 'make distcheck', see
https://github.com/doug-gilbert/sg3_utils/pull/26, 27 and
28; need svn:ignore property or maybe global-ignores
- round of coverity identified issue fixes (and non-issues)
- remove the imtermediate files generated by ./autogen.sh
- this reduces size of svn and git repositories but still
plan to have these intermediate files in release tarballs
- add bootstrap script that just calls ./autogen.sh
- remove archive directory (and its contents)
- codespell fixes
Changelog for released sg3_utils-1.47 [20211110] [svn: r919]
- sg_rep_zones: add support for REPORT ZONE DOMAINS and
REPORT REALMS in this utility
- sg_raw: fix prints of NVMe NVM command names
- sg_ses: fix Windows problem "No command (cdb) given"
- fix crash when '-m LEN' < 252
- guard against smaller '--maxlen=' values
- sg_logs: additions to Volume statistics lpage [ssc5r05c]
- additions to Command duration limits statistics log
page [spc6r06]
- sg_vpd: fix do_hex type on some recent pages
- zoned block dev char vpd: add zone alignment mode and
zone starting LBA granularity [zbc2r11]
- sg_read_buffer: fix --length= problem
- sg_dd, sgm_dd, sgp_dd: don't close negative file descriptors
- sg_dd: srand48_r() and mrand48_r() are GNU libc specific,
put conditional in so non-reentrant version used otherwise
- 'iflag=00,ff' places the 32 bit block address (big endian)
into each block
- sgp_dd: major rework, fix issue with error being ignored
- new: --chkaddr which checks for block address in each block
- add check for stdatomic.h presence in configure.ac
- sg_xcopy: tweak CSCD identification descriptor
- sg_get_elem_status: fix issue with '--maxlen=' option
- add 2 depopulation revocation health attributes [sbc5r01]
- transport error handling improved. To fix report of a
BAD_TARGET transport error but the utility still continued.
- introduce SG_LIB_TRANSPORT_ERROR [35] exit status
- several utilities: override '--maxlen=LEN' when LEN
is < 16 (or 4), take default (or 4) instead
- scripts: 55-scsi-sg3_id.rules remove outdated rule
- sg_lib: add sg_scsi_status_is_good(),
sg_scsi_status_is_bad() and sg_get_zone_type_str()
- pt_linux: fix verify(BytChk=0) which Linux SNTL translated
to write, other SNTL cleanups
- pt_linux_nvme: fix fua setting
- pt: check_pt_file_handle() add return value of 5 for
FreeBSD for nvme(cam)
- pt: new configure option --enable-pt_dummy builds the
library with sg_pt_dummy.c instead of OS specific code;
for experimenting with --inhex= decoding on netbsd
- pt: add Haiku OS support
- gcc -fanalyzer fixes: in sg_pt_linux.c + sg_write_x.c
- sg_pt_dummy.c: add list of functions that a new pt
needs to define
- configure.ac: tweak to accept uclinux as linux
- move some hex files from examples to inhex directory
- major rework of lib/sg_pt_freebsd.c; make SNTL as similar
as practical to the Linux implementation
- add testing/sg_take_snap
- change links to http://sg.danny/cz/sg/* to https
Changelog for released sg3_utils-1.46 [20210329] [svn: r891]
- sg_rep_pip: new utility: report provisioning initialization
pattern command
- sg_turs: estimated time-to-ready [spc6r03]
- add --delay=MS option
- sg_requests: substantial cleanup
- sg_vpd: add Format presets and Concurrent positioning ranges
- add hot-pluggable field in standard Inquiry [spc6r05]
- fix vendor struct opts_t alignment
- sg_inq: add hot-pluggable field in standard Inquiry
- sg_dd: --verify : separate category for miscompare errors
- --verify : oflag=coe continue on miscompares, counts them
- add cdl= operand for command duration limit indexes
- add oflag=nocreat and conv=nocreat : OFILE must exist
- add iflag=00, ff, random flags
- setup conditional auto rule for getrandom()
- add command timeout after comma in time= operand
- sg_get_elem_status: add ralwd bit sbc4r20a
- sg_write_x: add dld bits to write(32) [sbc4r19a]
- sg_rep_zones: print invalid write pointer LBA as -1 rather
than 16 "f"s
- sg_opcodes: improve handling of RWCDLP field
- sg_ses: use fan speed factor field for calculation [ses4r04]
- add --all (-a) option, same action as --join
- sg_compare_and_write: add examples section to its manpage
- sg_modes: document '-s' option (same as '-6')
- sg_sanitize + sg_format: when --verbose given once report
probable success; without --verbose 'no news is good news'
- sg_zone: add Remove element and modify zones command
- sg_raw: increase maximum data-in and data-out buffer size
from 64 KB to 1 MB
- fix --cmdfile= handling
- add --nvm option to send commands from the NVM command set
- add --cmdset option to bypass cdb heuristic
- add --scan= first_opcode,last_opcode
- sg_pt_freebsd: allow device names without leading /dev/
thus fix for regression introduced in rev 731 (ver: 1.43)
- sg_pt_solaris+sg_pt_osf1: fix problem with clear_scsi_pt_obj()
which needs to remember is_nvme and dev_fd values
- sg_lib: add ZBC (2020) feature set entries
- sg_lib: restore elements and rebuild command added
- sg_lib,sg_pt: add partial_clear_scsi_pt_obj(),
get_scsi_pt_cdb_len() and get_scsi_pt_cdb_buf()
- add do_nvm_pt() for the NVM (sub-)command set
- tweak transport error handling in Linux
- sg_lib: Linux NVMe SNTL: add read, write and verify;
synchronize cache and write same translations
- add dummy start stop unit and test unit ready commands
- wire cache mpage's WCE to nvme 'volatile write cache'
- fix crash in sg_f2hex_arr() when fname not found
- sg_lib: reprint cdb with illegal request sense key
- asc/ascq match asc-num.txt @t10 20200708 [spc6r02]
- gcc-10: suppress warnings
- autoconf: upgrade version 2.69 to 2.70
- remove space from end of source lines for git-svn
- testing/sg_mrq_testing: new, for blocking mrq usage
- testing/sgs_dd: add evfd flags and eventfd processing
- testing: remove master-slave terminology for sgv4
- examples: add nvme_read_ctl.hex and nvme_write_ctl.hex
Changelog for released sg3_utils-1.45 [20200229] [svn: r843]
- sg_get_elem_status: new utility [sbc4r16]
- sg_ses: bug: --page= being overridden when --control and --data= also
given; fix
- document explicit Element type codes and example
- rename 'SAS SlimLine' to SlimSAS [ses4r02]
- add --inhex=FN, equivalent to --data=@FN, for compatibility with
other utilities
- 'fan speed factor' field added in 20-013r1
- sg_opcodes: expand MLU (now 2 bits, spc5r20)
- include RWCDLP field as extension of CDLP field (spc5r01)
- sg_write_buffer: allow comma and period separated lists when input
from stdin
- sg_inq: update version descriptors to spc5r21
- add some NVMe 1.4 snippets to ctl identify
- sg_format: add --dcrt used twice (FOV=1 DCRT=0)
- add support for FORMAT WITH PRESET (sbc4r18)
- sg_raw: fix --send bug when using stdin
- sg_vpd: 3pc VPD page add copy group descriptor
- add --examine option
- new zoned block device char. page (zbc2r04)
- sg_read_buffer: decode read microcode status page
- add --inhex=FN option
- sg_request: add --error option, replaces opcode with 0xff (or skips call
to pass-through)
- sg_get_lba_status: add --inhex=FN option
- sg_xcopy: add --fco (fast copy only) (spc5r20)
- implement --app=1 (append) on regular OFILE type
- sg_scan (win32): expand limits for big arrays
- sg_modes: placeholders for Command duration limit T2A and T2B mpages
(sbc4r17)
- improve zbc support (e.g. caching mpage)
- sg_logs: add Command duration limits statistics lpage (spc6r01)
- zoned block device statistics log page: shorten counter fields from
8 to 4 bytes (zbc2r02)
- new field in this log page (zbc2r04)
- change '-ll' option to suppress subpages=0xff apart from page
0x0,0xff. Used three times: list all pages and subpages names
reported
- sg_reassign: for defect list format 6 (vendor specific) don't try to decode
- sg_rep_zones: expand some fields per zbc2r04
- add --num= and --wp options
- sg_verify: correct so issues VERIFY(16)
- add --0 and --ff options and implement bytchk=3 properly
- sg_write_same: add --ff for 0xff fill
- sg_luns: report new "target commands" w-lun (spc6r02)
- add --inhex=, --inner-hex and --sinq_inraw= options
- sg_readcap: add --inhex= and --10 options
- sg_dd: add --verify support
- sgp_dd: support memory-mapped IO via mmap flag
- inhex directory: new, contains ASCII hex files that can be used with
the '--inhex=' option
- sg_lib: add sg_t10_uuid_desig2str()
- add sg_get_command_str and sg_print_command_len()
- speed up sg_print_command()
- sg_scsi_normalize_sense(): populate byte4,5,6
- tweak sg_pt interface to better handle bidi
- sg_cmds_process_resp(): two arguments removed
- add ${PACKAGE_VERSION} to '.so' name
- add sg_f2hex_arr()
- update some tables for NVMe 1.4
- sg_get_num()+sg_get_llnum(): add 'e' decoding, exabytes; allow
addition (e.g. --count=3+1k)
- asc/ascq match asc-num.txt @t10 20191014
- new zbc2r04 service actions
- sg_pt_freebsd: fixes for FreeBSD 12.0 release
- scripts: update 54-before-scsi-sg3_id.rules, scsi-enable-target-scan.sh
and 59-fc-wwpn-id.rules
- linux: add nanosecond durations when SG3_UTILS_LINUX_NANO environment
variable givenand Linux sg driver >= 4.0.30
- rescan-scsi-bus: widen LUN 0 only scanning
- multiple patches to sync with Suse
- testing/sg_tst_async: fix free_list issue
- testing/sg_tst_ioctl: for sg 4.0 driver
- testing/sg_tst_bidi: for sg 4.0 driver
- testing/sgh_dd: test request sharing, mreqs...
- add --verify support
- testing/sgs_dd: back from archive, for testing SIGPOLL (SIGIO) and
realtime (RT) signals
- testing/sg_chk_asc: allow LF and CR/LF in asc-num.txt
- testing: 'make' now builds both C and C++ programs
- sg_pt: add sg_get_opcode_translation() to replace global pointer to
array: sg_opcode_info_arr[]
- extend small SNTL to support read capacity
- utils/hxascdmp: add -o=<offset> option
- add -1, -2 and -q options
- sg_io_linux (sg_lib): add sg_linux_sense_print()
- sg_pt_linux: uses sg v4 interface if sg driver >= 4.0.0 . Force sg v3
always by building with './configure --disable-linux-sgv4'
- add sg_linux_get_sg_version() function
- add: 'SPDX-License-Identifier: BSD-2-Clause' or a small number of
'GPL-2.0-or-later'
- gcc-9: suppress (pointless) warnings
- automake: upgrade to version 1.16.1
- autoconf: upgrade to version 2.69
- sync with fixes from Redhat, via github
Changelog for sg3_utils-1.44 [20180912] [svn: r791]
- same code as release 1.43 20180911 svn rev 789;
new release due to sync problem with git mirror at:
https://github.com/hreinecke/sg3_utils
that has a v1.43 tag dated 20160217 [svn: r663]
Changelog for sg3_utils-1.43 [20180911] [svn: r789]
- release 1.43 20180911 svn rev 789
- sg_write_x: where x can be normal, atomic, or(write),
same, scattered, or stream writes with 16 or 32 byte
cdbs (sbc4r04 for atomic, sbc4r11 for scattered)
- sg_bg_ctl: new Background control command (sbc4r08)
- sg_seek: new SEEK(10) or PRE-FETCH(10 or 16)
- sg_stream_ctl: new, STREAM CONTROL or GET STREAM STATUS
- sg_senddiag: add --timeout=SECS option
- sg_sanitize: add --timeout=SECS option
- add --dry-run option
- sg_format: add --timeout=SECS option
- add --dry-run option to bypass modifying behaviour
- add --quick option to skip reconsideration time
- extend --wait timeout to 40 hours for disk sizes
> 4 TB and 80 hours if > 8 TB
- when changing block size allow for Mode Select
rejecting SP=1 (Save Page): repeat with SP=0
- FFMT tweaks: default CMPLST to false, shorten poll
- make all data-in and data-out buffers page aligned
- sg_decode sense: add --cdb and --err=ES options
- sg_ses: handle 2 bit EIIOE field in aes dpage
- increase join array size from 260 to 520 elements
- add --quiet option to suppress messages
- expand join handling of SAS connectors and others
- expand join debug code
- allow multiple --clear=, --get= and --set= options
- allow individual index ranges (e.g. --index=3-5)
- allow --index=IIA with -ee to enumerate only fields
belonging to element type IIA
- --data=@FN with --status now decodes dpage(s) in FN
- add 'offset_temp' and 'rqst_override' to temperature
sensor element type
- add 'hw_reset' and 'sw_reset' to enclosure services
controller electronics element type (18-047r1)
- interpret '--join --page=aes' to only display join
rows that have a corresponding AES dpage element
- support NVMe attached enclosure via NVME-MI Send and
Receive SES commands
- decode array status diagnostic page (obsolete)
- sync to ses4r01
- sg_ses_microcode: add --dry-run and -ealsd options
- sg_ses, sg_ses_microcode, sg_senddiag: make all access
buffer page size aligned (typically page_size=4096)
- sg_write_buffer: add --dry-run option
- sg_luns: resync with drafts (sam6r02+spc5r10)
- remove undocumented test "W" format
- accept and output on request "quad dashed" format
- sg_logs: fix volume statistics lpage when subpage
is zero (ssc5r02a); decode mount history log parameter
- add --vendor=VP and '--pdt=DT' options
- decode Requested recovery, TapeAlert response, and
Service buffer information lpages for tape
- add min+max 'mounted' temperature and rel. humidity
fields to Environmental reporting lpage (spc5r10)
- add last n Inquiry/Mode_page data changed log
pages (spc5r17)
- add zoned block device statistics lpage (zbc2r?,
16-264r4)
- fixup enumeration in power condition transition
log page (from H. Reinecke, Suse)
- sg_inq: fix potential unbounded loop in --export
- add --only to stop standard inquiry decoding also
doing a serial number vpd page (0x80) fetch
- update version descriptor list to 20170114
- add further checks so CDROM standard inquiry response
doesn't trick --inhex into thinking it's VPD pg 0x80
- decode NVMe Identify controller/nsid commands
- with NVMe --only restricts to a single Identify
controller command
- add --long which decodes more of the NVMe Identify
command responses
- sg_inq+sg_vpd: update Extended inquiry data vpd
page (spc5r09 and 17-142r5)
- block limits and block limit extension VPD pages:
add extra info about corner cases
- add maximum inquiry|mode_page change logs fields
to extended inquiry vpd page (spc5r17)
- both now return EDOM (adjusted sg error code) when
requested page not in Supported VPD Pages page
- add --force option to bypass checking Supported
Vpd Pages page and fetch requested page directly
- sg_vpd: 3 party copy VPD page improvements
- fully implement Device constituents VPD page
- decode some WDC/Hitachi vendor VPD pages
- improve handling of unknown pages
- sg_reassign+sg_write_same: fix ULONG_MAX problem
- sg_rdac: add sanity checks for -f=lun value
- sg_turs+sg_requests: make both accept '--num=NUM'
and '--number=NUM' for mutual compatibility
- sg_turs: add --low option
- fix exit status when not ready in single case
- sg_zone: fix debug cdb naming
- add --sequentialize, --count=ZC options, zbc2r01b
- sg_reset_wp add --count=ZC option, zbc2r01b
- sg_persist: add --maxlen-LEN option, LEN defaults to
decimal, similar to --alloc-length= which takes hex
- add Replace lost reservation capable (RLR_C) bit
in Report Capabilities (spc4r36)
- sg_dd: add --dry-run and --verbose options
- allow multiple short options (e.g. -dvv )
- sgp_dd: pthread_cancel() has issues in C++ (and
the Android multi-threaded library doesn't supply it)
so use pthread_kill() in its place [Linux only]
- add --dry-run and --verbose options
- sgm_dd: add --dry-run and --verbose options
- sg_opcode: add '--enumerate' and '--pdt=' options
- support CDLP (command duration limit page)
- support MLU, Multiple Logical Units (18-045r1)
- check resid and trim response if necessary
- report when --no-inquiry is ignored
- sg_raw: add --enumerate option
- add --cmdfile=CF option, permit 64 byte NVMe
admin commands to be sent
- add --raw option (for CF in binary)
- page align input and output buffers
- sg_get_lba_status: add --report-type= option (sbc4r12)
- add support for 32 byte cdb variant (sbc4r14)
- add support for --element-id= and --scan-len=
options (sbc4r14)
- decode response's RTP and two more provisioning
statuses and the additional status (sbc4r12)
- decode completion condition (sbc4r14)
- sg_modes: add Out of band management control mpage
- accept acronym for page/subpage codes
- sg_rep_zones: expand --help option information
- sg_unmap: add --all=ST,RN[,LA] option to unmap
large contiguous segments of a disk/ssd
- add --dry-run and --force options
- sg_wr_mode: add --rtd option for RTD bit
- sg_timestamp: add '--no-timestamp' option
- add --elapsed and --hex options
- sginfo: don't open /dev/snapshot
- introduce SG3_UTILS_DSENSE environment variable
- manpages and usage messages: corrections from
Gris Ge via github
- group_number: is 6 bit field allowing 0 to 63,
code in several utilities limited it to 31, fix
- convert many two valued 'int's to bool
- sg_lib: add SSC maintenance in/out sa names
- enhance exit status values and associated
strings, add SG_LIB_OS_BASE_ERR (50)
- add sg_ll_inquiry_v2(), sg_ll_inquiry_pt() and
sg_simple_inquiry_pt()
- add sg_ll_report_luns_pt()
- add sg_ll_log_sense_v2()
- add sg_ll_mode_sense10_v2()
- add sg_ll_mode_select6_v2() and
sg_ll_mode_select10_v2() for RTD bit
- add sg_ll_receive_diag_v2()
- add sg_ll_write_buffer_v2()
- add sg_get_llnum_nomult()
- add sg_ll_get_lba_status16()
- add sg_ll_get_lba_status32()
- add sg_ll_format_unit_v2()
- add sg_ll_test_unit_ready_progress_pt()
- add sg_ll_start_stop_unit_pt()
- add sg_ll_request_sense_pt()
- add sg_ll_send_diag_pt(), sg_ll_receive_diag_pt()
- add sg_get_sfs_name() for spc5r11 (Feature sets)
- add sg_decode_transportid_str()
- add sg_msense_calc_length()
- add sg_all_zeros(), sg_all_ffs()
- add sg_get_sense_cmd_spec_fld()
- add sg_is_scsi_cdb()
- add sg_get_nvme_cmd_status_str()
- add sg_nvme_status2scsi()
- add sg_nvme_desc2sense()
- add sg_build_sense_buffer()
- add sg_get_nvme_opcode_name()
- add sg_memalign() and sg_get_page_size()
- add sg_is_aligned() and pr2ws()
- add sg_get_big_endian(), sg_set_big_endian()
- add hex2stdout(), hex2stderr() and hex2str()
- add sg_convert_errno()
- add sg_if_can2stdout(), sg_if_can2stderr() and
sg_exit2str()
- implement 'format' argument in dStrHexStr()
- add read buffer(16) command mode names
- add Microcode activation sense descriptor spc5r10
- add SG_LIB_OK_TRUE(0) and SG_LIB_OK_FALSE(36)
non "error" code defines for exit status
- add SG_LIB_LBA_OUT_OF_RANGE error code
- add SG_LIB_UNBOUNDED_32BIT (_16BIT and _64BIT)
defines to help with decoding corner cases
- identify vendor specific sense data (response
code 0x7f), print contents in hex
- sg_pr2serr.h: add sg_scnpr() [like lk scnprintf()]
- sg_pt: add construct_scsi_pt_obj_with_fd()
- add pt_device_is_nvme(), get_pt_nvme_nsid()
- add check_pt_file_handle()
- add get_pt_file_handle(), set_pt_file_handle()
- add small SNTL to support sg_ses on NVMe
- sg_lib_data: sync asc/ascq codes with T10 20170114
- add write scattered (16+32) cdb names sbc4r11
- sg_cmds_extra: expand sg_ll_ata_pt() to send new
Ata pass-through(32) command (sat4r05)
- sg_sat_identify: expand to take --len=32
- sg_pt: add dummy pt_device_is_nvme()
- rescan-scsi-bus.sh: harden code
- fixes from Suse; bump version
- bump version to 20180615
- add to install list in Makefile, hope it does
not clash with other package providing it
- add --ignore-rev to ignore revision change
- 55-scsi-sg3_id.rules: fixes from Suse
- https://github.com/hreinecke/sg3_utils branch
sles15 synced 20170914
- move some testing utilities out of the
'examples' and 'utils' directories into the new
'testing' directory
- add testing/sg_tst_nvme utility
- clean Makefile.freebsd in examples/ and testing/
- gcc 7.2 cleanups (sysmacros.h etc)
- clang --analyze static checker clean ups
- shellcheck cleanup on scripts
- ./configure automake utility:
- option --enable-debug added for testing
- option --disable-linuxbsg retired, still accepted
but now ignored, Linux sg v3 or v4 interface
decision made at runtime
- Info section now printed at end of ./configure
- automake: add AM_PROG_AR to configure.ac
- upgrade to version 1.15
- various configure.ac and Makefile.am cleanups
- add SG_LIB_ANDROID build 'define'. If defined then
SG_LIB_LINUX is also defined, so test for Android
before Linux if need to differentiate
- update BSD license from 3 to 2 clause aka FreeBSD
license (without reference to FreeBSD project)
- debian: bump compat file contents from 7 to 10
Changelog for sg3_utils-1.42 [20160217] [svn: r663]
- sg_timestamp: new, to report or set timestamp
- sg_read_attr: new, supported by tape drives
- sg_stpg: fix truncation of target port field
- sg_inq: cope with unicode strings, udev fixes
- update version descriptor list to 20160125
- '--export': new entries for UUID descriptor
- sg_ses: add more field acronyms (ses3r11)
- sg_logs: add Utilization lpage (sbc4r07)
- add Background operation lpage
- add Pending defects lpage
- add LPS misalignment lpage (sbc4r10)
- document '--All' ('-A') option
- rework lto tape vendor lpages
- sg_vpd: add Block limits extension VPD page
- add Device constituents VPD page
- add LB Protection VPD page (ssc ssc5r02a)
- LB provisioning VPD page: expand LBPRZ, add
Minimum and Threshold percentage fields
- rework lto tape vendor VPD pages
- sg_inq+sg_vpd+sg_xcopy: add support for locally
assigned UUIDs in VPD page 0x83 (spc5r08)
- sg_sanitize: add --znr option (sbc4r07)
- sg_rep_zones: add --partial option (zbc-r04)
- sg_format: add ffmt option (sbc4r10)
- add support for FORMAT MEDIUM (for tape)
- sg_raw: document length relationships
- rescan-scsi-bus.sh: updates from Suse
- sg_lib_data: sync asc/ascq codes with T10 20151126
- sg_lib: add 'sense' categories for SCSI statuses:
condition met, busy, task set full, ACA active and
task aborted
- add pr2serr() extern
- change sg_get_sense_str() and dStrHexStr(), return
chars written (returned void previously)
- add sg_get_sense_descriptors_str() function
- add sg_get_designation_descriptor_str() function
- sg_get_desig_type_str()+sg_get_desig_assoc_str()
and sg_get_desig_code_set_str() added
- sg_get_opcode_sa_name() break out zoning in/out,
read attribute and read position service actions
- sg_cmds_extra: add sg_ll_format_unit2() for FFMT
- sg_pr2serr.h: new, to shorten fprintf(stderr, ...)
- sg_io_linux, sg_pt_linux: drop SUGGEST_* decoding
- sg_unaligned.h: add 48 bit support and gets for
variable length unsigned integers
- add specializations for little and big endian
- change sg_ll_*() function's 'int noisy' to bool
Changelog for sg3_utils-1.41 [20150511] [svn: r644]
- sg_zone: new utility for open, close and finish
zone commands introduced in zbc-r02
- sg_rep_zones and sg_reset_wp: change opcodes as
indicated in zbc-r02
- sg_read_buffer: add READ BUFFER(16) support (spc5r02)
- sg_logs: add --enumerate and acronyms
- allow decode from hex or binary in file
- decode environmental reporting + limits lpages
- sg_write_buffer: add --timeout=TO option
- sg_lib interface: add sg_lib_pdt_decay(), TPROTO_PCIE
plus support for zoning service actions
- sg_lib: in Linux blocked devices yield ENXIO from
ioctl(SG_IO), map to SG_LIB_CAT_NOT_READY
- clean up sg_warnings_stream handling
- sg_inq+sg_vpd: fix SCSI name string decoding in
device identification VPD page (0x83)
- increase sanity on Unit Serial number VPD page
- improve rdac vpd page reporting (vendor)
- sg_inq: improve NAA handling in dev_id VPD page
- update version descriptor list to 20150126
- sg_vpd: add atomic boundary values (sbc4r04)
- block limits VPD page: fix unmap granularity
alignment value; spc5r02 additions
- sg_readcap: add support for ZBC's rc_basis field
- sg_senddiag: fix bug with --raw option
- add support for -HHH for output suitable for --raw
- sg_ses: enclosure element: add failure and warning
acronyms, fix warning indication output
- additional element status dpage: add PCIe/NVMe
- handle element descriptor names that count
multiple trailing NULLs
- rescan-scsi-bus.sh: add --issue-lip-wait option and
improve error handling
- improve dm-multipath handling
- sg_modes: make '-HHH' output suitable as input to
'sdparm --inhex='
- sg_rdac: add '-6' option for mode sense/select(6)
- add support for reporting more SCSI transports
and accessing rdac extended mode page 0x2c
- sg_write_same: cleanup, mainly man page
- scsi_logging_level: replace use of tr command
- examples/sg_tst_async: cleanup
- examples/sg-simple_aio.c: remove
- sg_lib_data: sync asc/ascq codes with T10 20150423
- Makefile cleanup
- autogen.sh: upgrade to buildconf 20091223 version
Changelog for sg3_utils-1.40 [20141110] [svn: r620]
- sg_write_verify: new utility for WRITE AND VERIFY
- sg_ses_microcode: new utility
- sg_sat_read_gplog: new utility
- sg_senddiag: add --maxlen= option
- sg_copy_results: correct response length calculations
- sg_format: make '-FFF' bypass mode sense/select
- add --mode=MP to supply alternate mode page,
default remains read-write error recovery mpage
- output unit serial number and LU name prior to
- sg_inq: expand Block limits VPD page output
- fix --cmddt output if not supported by device
- more sanity checks on vendor supplied fields
- sg_vpd: add --all option
- more TPC VPD page decoding
- add zoned block device characteristics page
- more sanity checks on vendor supplied fields
- sg_ses: fix problem with --index=sse (and ssc)
- mask status element before using as control
- defeat previous item with --mask (ignore) option
- SAS connector status element: add overcurrent bit
- handle element descriptor names that count a
trailing NULL
- add --warn option mainly for broken joins
- add optional descriptions to -ee output
- sync with ses3r07
- sg_sanitize: add --desc and --zero options
- output unit serial number and LU name prior to
- sg_rep_zones: corrections, sync with zbc-r01c
- sg_persist: split help into two pages, '-hh' for 2nd
- sg_logs: refine tape drive output
- sg_raw: with -vvv decode T10 CDB name
- do not output/print data-in if error
- sg_opcodes: add --compact field
- sg_senddiag: add --page=PG option
- sg_reset: add words for EAGAIN from reset ioctl
- sg_sat_*: mention t_type and multiple_count fields
- win32: sg_scan: handle larger configurations
- sg_lib: trim trailing spaces in dStrHex() and friends
- sg_lib_data: sync asc/ascq codes with T10 20140924
- clean up service action string functions
- sg_ll_unmap_v2(): fix group number
- sg_ll_inquiry(), sg_ll_mode_sense*(),
sg_ll_log_sense(): use resid to clear unfilled
data-in buffer
- sg_unaligned.h: add header for building parameters
- examples/sg_tst_async: new Linux sg test utility
Changelog for sg3_utils-1.39 [20140612] [svn: r588]
- sg_rep_zones: new utility for ZBC REPORT ZONES
- sg_reset_wp: new utility, ZBC RESET WRITE POINTER
- sg_ses: add --eiioe=auto|force option
- fix AES dpage element indexing problems
- add --readonly option
- sg_write_buffer: add --bpw=CS option to call
write buffer multiple times for big blobs
- sg_format: add --ip_def option to fully provision
- sg_opcodes: add --mask option
- sg_logs: add --in=FN option for log select params
- add --filter=PARC (parameter code)
- add --no_inq for suppress initial INQUIRY call
- add --readonly option
- sg_persist: add --readonly option, environment
variable SG_PERSIST_IN_RDONLY sets ro on prin cmds
- sg_inq: sync version descriptors dated 20105176
- suppress dev-id VPD messages so they only appear
when --verbose is given
- add new SCSI_IDENT_*_ATA pair to --export output
- sg_luns: add decoding for conglomerate LUNS
- add --lu_cong option to simulate the LU_CONG bit
- sg_vpd: add --vendor=VP option, re-order vendor
specific pages, split lto into lto5 and lto6
- add Supported block lengths and protection types
page (sbc4r01)
- add Block device characteristics extension
page (sbc4r02)
- sg_copy_results, sg_get_lba_status, sg_luns,
sg_read_buffer, sg_readcap, sg_referrals, sg_rtpg,
sg_sat_set_features, sg_sat_identify:
add --readonly option
- sginfo: strip trailing spaces from INQUIRY text
- sg_rbuf: add --echo option (to use echo buffer)
- sg_lib: add sanitize command service action names
- add 'sense' categories for reservation conflict,
data protect and protection information violations
- add sg_get_category_sense_str() to API
- change struct sg_simple_inquiry_resp::rmb to byte_1
- add initial zbc service actions
- dStrHex(Err): fix output truncation error
- linux, sg: support SCSI_PT_FLAGS_QUEUE_AT_TAIL and
SCSI_PT_FLAGS_QUEUE_AT_HEAD (block layer queueing)
- sg_lib_data: sync asc/ascq codes with T10 20140516
- sync operation code with T10 20140515
- add id string for SPC-5
- scripts/59-scsi-sg3_utils.rules: removed
- functionality split into two scripts:
55-scsi-sg3_id.rules + 58-scsi-sg3_symlink.rules
- examples/sg_persist_tst.sh: add --exclusive option
- win32: sg_scan, sg_ses and sg_log fixes
- examples/sgq_dd: re-add old utility as example
Changelog for sg3_utils-1.38 [20140401] [svn: r563]
- sg_ses: add --dev-slot-num= and --sas-addr=
- fix --data=- problem with large buffers
- new --data=@FN to read hex data from file FN
- error and warning message cleanup
- add --maxlen= option
- sg_inq: add --block=0|1 option to control opens
- add --inhex=FN to read response in ASCII hex from
a file; --inhex=FN --raw reads response in binary
- make -HHH (-HHHH for '-p ai') output suitable for
another sg_inq invocation to use --inhex to decode
- add LU_CONG to standard inquiry response output
- decode ASCII information VPD pages
- add HAW_ZBC in block dev char. VPD page (sbc4r01)
- sync version descriptors dated 20131126
- allow --page=-1 to force std INQUIRY decoding
- fix overflow in encode_whitespaces
- improve unit serial number display (VPD page 0x80)
- sg_vpd: add LU_CONG to standard inquiry response output
- add --inhex=FN to read response in ASCII hex from
a file; --inhex=FN --raw reads response in binary
- decode Third Party Copy (tpc) page
- add HAW_ZBC in block dev char. VPD page (sbc4r01)
- add LTO and DDS vendor pages
- allow --page=num to restrict --enumerate output
- sg_persist: add PROUT: Replace Lost Reservation (spc4r36)
- add --transport-id= for SOP: 'sop,<routing_id_in_hex>'
- sg_readcap: for --16 show physical block size if
different from logical block size
- sg_xcopy: environment variables: XCOPY_TO_SRC and
XCOPY_TO_DST indicate where xcopy command is sent
- change default to send xcopy to dst (was src)
- improve CL handling of short options (e.g. '-vv')
- sg_luns: guard against garbage response
- sg_decode_sense: with --nospace ignore spaces on
command line, so multiple arguments are concatenated
- sg_write_same: repeat if unit attention
- sg_rtpg: fix indexing bug with --extended option
- sg_logs: placeholder for pending defects lpage
- sg_unmap: fix another problem with --grpnum= option
- sg_lib.h: add PDT_ZBC define (spc4r36p)
- sg_lib_data: sync asc/ascq codes with T10 dated 20140320
- add pdt string for ZBC (spc4r36p)
- sg_lib: extensions to sg_get_num() and sg_get_llnum()
- sg_cmds_extra: fix sa bug in sg_ll_3party_copy_out()
- scripts/rescan-scsi-bus.sh: check if FC driver exports
issue_lip before using it
- man page added (Linux only)
- scripts/59-scsi-sg3_utils.rules: linux specific udev rules
- examples: add sg_tst_excl3 for testing O_EXCL
- improve sg_tst_excl and sg_tst_excl2
- add sg_tst_context for testing file handle contexts
- upgrade automake to version 1.13.3
- add suse directory and 'spec' file to facilitate builds
Changelog for sg3_utils-1.37 [20131014] [svn: r522]
- sg_compare_and_write: fix wrprotect setting
- add --quiet option to suppress miscompare report
- merge features from another implementation
- sg_inq: fix referrals VPD page
- dev_id VPD: T10 vendor id designator clean up
- sg_logs: improve for tape drives, general cleanup
- sg_persist: fix core dump on -Q option
- sg_unmap: fix core dump on -g option
- sg_vpd: dev_id VPD: T10 vendor id designator clean up
- cleanup up dev_id NAA-3: locally assigned
- sg_ses: add --nickname and --nickid options
- eiioe added to additional element status page (ses3r6)
- multiple --filter options to prune output
- sg_verify: improve miscompare handling
- rename --btychk=ndo option to --ndo=ndo (hide former)
- add --quiet option
- sg_xcopy: allow sg and bsg devices
- fix for bpt going negative
- limit each XCOPY(LID1) command to 65535 blocks
- fix for seek in multi-segment copies
- sg_sanitize: skip 15 second safety delay with --fail
- sg_libs: extended copy opcode renamed (spc4r34)
- sg_ll_receive_copy_results(): expand for all sa_s
- add sg_get_sense_key()
- add sg_ll_3party_copy_out()
- add dStrHexErr(): ascii hex to stderr
- add dStrHexStr(): ascii hex to string
- add SG_LIB_CAT_MISCOMPARE to categories
- clean header files
- sg_pt_freebsd: sanity check on sense_resid; fix leaks
- scripts/rescan-scsi-bus.sh KG's v1.57 + HR patch
- improve wlun handling, detect updated and resized
devices, better multipath support
- Makefile.am cleanup
- examples: add sg_tst_excl and sg_tst_excl2
Changelog for sg3_utils-1.36 [20130531] [svn: r497]
- sg_vpd: Protocol-specific port information VPD page
for SAS SSP, persistent connection (spl3r2), power
disable (spl3r3)
- block device characteristics: add FUAB bit
- sg_xcopy: handle more descriptor types; handle zero
maximum segment length; allow list IDs to be disabled;
improve skip/seek handling; allow xcopy on destination
- sg_reset: and --no-esc option to stop reset escalation
- clean up cli, add long option names
- sg_luns: add --test=ALUN option for decoding LUNs
- decoded luns output in decimal or hex (if -HH given)
- add '--linux' option to show Linux LUN after T10
representation, can map one to the other
- sg_inq: add --vendor option to show standard inquiry's
vendor specific fields in ASCII
- take resid into account with response output
- sg_sync: add --16 (for 16 byte command) and --timeout=
- sg_logs: add data compression page (ssc4)
- sg_sat_set_features: increase --lba from 1 to 4 bytes
- sg_write_same: add --ndob option (sbc3r35d)
- sg_map: mark as deprecated
- sginfo: mark as deprecated, especially -l (list)
- sg_lib: improve snprintf handling
- sg_lib_data: sync asc/ascq codes with T10 20130117
- sg_cmds (lib): if noisy given, give more UA info
- make code more C++ friendly
Changelog for sg3_utils-1.35 [20130117] [svn: r476]
- sg_compare_and_write: new utility
- sg_inq+sg_vpd: block device characteristics VPD page:
add product_type, WABEREQ, WACEREQ and VBULS fields
- sg_inq: more --export option changes for udev
- sg_vpd: add more rdac vendor specific vpd pages
- sg_verify: add --ebytchk option for sbc3r34 changes
- sg_stpg: --offline option: fix 'Invalid state 0xe'
- sg_ses: Door Lock element changed to Door element and
abbreviation changed from 'dl' to 'do' (ses3r05)
- archive/rescan-scsi-bus.sh: upgrade to version 1.53hr
- move rescan-scsi-bus.sh to scripts directory
- sync to sbc3r34
- sg_lib: sg_ll_verify10+16 expand BYTCHK to 2 bit field
- sg_pt_win32, sg_scan(win32): changes for cygwin 1.7.17
- clean up man page summary lines
Changelog for sg3_utils-1.34 [20121013] [svn: r461]
- sg_xcopy: new dd like utility for extended copy command
- sg_copy_results: new utility for receive copy results
- sg_verify: add 16 byte cdb, bytchk (data-out buffer)
and group number support
- sync to spc4r36 and sbc3r32
- sg_inq: add --export so sg_inq can replace udev's scsi_id
- decode old EMC Symmetrix abuse of VPD page 0x83
- sg_vpd: decode old EMC Symmetrix abuse of VPD page 0x83
- sg_ses: increase max dpage response size to 64 KB
- allow ident,locate on enclosure controller
- more sanity for additional element status descriptor
- sg_sanitize: add --ause, --fail and --test=
- sg_luns: add long extended flat space addressing format
- sg_logs: add ATA pass-through results lpage (SAT-2)
- sg_rtpg: add --extended option
- sg_senddiag: list rebuild assist diag page name
- sg_pt_linux: expand DID_ (host_byte) codes
- cope with a transport error plus sense data
- prefer major() over MAJOR() macro
- sg_lib: fix sg_get_command_name() service actions
- report sdat_ovfl bit (if set) in sense data
- decode extended_copy and receive_copy service actions
- decode read_buffer and write_buffer modes
- decode ATA PT fixed format sense (SAT-2)
- sg_cmds_extra: add sg_ll_report_tgt_prt_grp2()
- ./configure options:
- change --enable-no-linux-bsg to --disable-linuxbsg
- add --disable-scsistrings to reduce utility sizes
Changelog for sg3_utils-1.33 [20120118] [svn: r435]
- sg_ses: major rework of indexes (again), now two level
- sg_write_buffer: new --specific option for mode specific
field; new mode 13 (spc4r32)
- sg_vpd: add hp3par volume info vendor VPD page
- fix 'scsi ports' [0x88] page problem
- add 'sinq' pseudo page for standard inquiry response
- add power consumption page
- sg_format: add --poll= option for request sense polling
- improve handling of disks > 2 TB and DIF (protection)
- sg_logs: LB provision lpage extra (sbc3r28)
- sg_modes: application tag mpage subcode 0xf0->0x2
- sg_write_same: no prot fields when wrprotect=0