aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2021-04-15 02:13:40 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2021-04-15 02:13:40 +0000
commit28400776770cf5453f196690fcd24e353c5826e0 (patch)
tree085a29ce0d158c4e2611b5b0053215b1dd3d7cc6
parent7901cc4a6d580fddd88afccd8096cf292048db0b (diff)
downloadsg3_utils-28400776770cf5453f196690fcd24e353c5826e0.tar.gz
change links to http://sg.danny/cz/sg/* to https
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@895 6180dd3e-e324-4e3e-922d-17de1ae2f315
-rw-r--r--ChangeLog3
-rw-r--r--README20
-rw-r--r--README.freebsd4
-rw-r--r--README.solaris2
-rw-r--r--README.tru642
-rw-r--r--README.win322
-rw-r--r--debian/changelog2
-rw-r--r--doc/rescan-scsi-bus.sh.86
-rw-r--r--doc/sg3_utils.810
-rw-r--r--doc/sg_compare_and_write.84
-rw-r--r--doc/sg_dd.86
-rw-r--r--doc/sg_decode_sense.82
-rw-r--r--doc/sg_get_config.84
-rw-r--r--doc/sg_get_lba_status.82
-rw-r--r--doc/sg_inq.84
-rw-r--r--doc/sg_raw.82
-rw-r--r--doc/sg_read_block_limits.82
-rw-r--r--doc/sg_referrals.82
-rw-r--r--doc/sg_safte.82
-rw-r--r--doc/sg_scan.8.win322
-rw-r--r--doc/sg_ses.86
-rw-r--r--doc/sg_verify.82
-rw-r--r--doc/sg_vpd.84
-rw-r--r--doc/sg_xcopy.86
-rw-r--r--doc/sginfo.84
-rw-r--r--include/sg_lib.h2
-rw-r--r--lib/sg_lib.c4
-rw-r--r--sg3_utils.spec6
-rw-r--r--src/sg_compare_and_write.c2
-rw-r--r--src/sg_format.c2
-rw-r--r--src/sg_inq.c2
-rw-r--r--src/sg_inq_data.c4
-rw-r--r--src/sg_raw.c2
-rw-r--r--src/sg_sat_identify.c2
-rw-r--r--src/sg_sat_phy_event.c2
-rw-r--r--src/sg_sat_read_gplog.c2
-rw-r--r--src/sg_sat_set_features.c2
-rw-r--r--src/sg_vpd.c2
-rw-r--r--src/sg_vpd_vendor.c2
-rw-r--r--testing/README2
-rw-r--r--testing/sg_chk_asc.c2
-rw-r--r--testing/uapi_sg.h6
42 files changed, 76 insertions, 75 deletions
diff --git a/ChangeLog b/ChangeLog
index 51bf984e..6a80dc27 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,9 +2,10 @@ 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.47 [20210407] [svn: r894]
+Changelog for pre-release sg3_utils-1.47 [20210414] [svn: r895]
- move some hex file from examples to inhex directory
- 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
diff --git a/README b/README
index 277cbe2a..b5e9d3ca 100644
--- a/README
+++ b/README
@@ -55,13 +55,13 @@ list of contributors see the CREDITS file.
Description
===========
A web site supporting the sg3_utils package can be found at
-http://sg.danny.cz/sg/sg3_utils.html . That page has a table of released
+https://sg.danny.cz/sg/sg3_utils.html . That page has a table of released
versions for download. The most recent release or beta of sg3_utils may
-be found on this page: http://sg.danny.cz/sg in the News section.
+be found on this page: https://sg.danny.cz/sg in the News section.
The predecessor to this package was called sg_utils. It is described in
-http://sg.danny.cz/sg/uu_index.html and old versions can be downloaded
-from the Downloads section of http://sg.danny.cz/sg .
+https://sg.danny.cz/sg/uu_index.html and old versions can be downloaded
+from the Downloads section of https://sg.danny.cz/sg .
In the Linux 2.4 kernel series these utilities need to use the SCSI generic
(sg) driver to access SCSI devices. The name of this package (i.e. sg3_utils)
@@ -96,11 +96,11 @@ that the user may need to take into account.
If users have problems or questions about them please contact the author.
Documentation for the Linux sg device driver can be found at:
-http://sg.danny.cz/sg/p/sg_v3_ho.html . This is written in DocBook and the
+https://sg.danny.cz/sg/p/sg_v3_ho.html . This is written in DocBook and the
original xml can be found in the same directory with the ".xml" extension.
Postscript and pdf renderings are also in that directory. Older documentation
for the sg version 3 driver can be found at:
-http://sg.danny.cz/sg/p/scsi_generic_v3.txt .
+https://sg.danny.cz/sg/p/scsi_generic_v3.txt .
To save the repetition of common code (e.g. SCSI error processing) and
reduce the size of the executable files, a shared library called
@@ -232,7 +232,7 @@ fails on the earlier etch).
Warning
=======
Many devices use SCSI command sets over transport protocols not normally
-associated with SCSI (as defined at http://www.t10.org ). Some of these
+associated with SCSI (as defined at https://www.t10.org ). Some of these
devices react poorly (e.g. lock up) when sent SCSI commands that they don't
support. Even sending a supported SCSI command with a field set to an
unexpected value can cause problems. [The author is talking about billions
@@ -320,7 +320,7 @@ The 'utils' subdirectory contains source and a Makefile to build "hxascdmp"
which accepts binary data from stdin (or a file on the command line) and
outputs an ASCII-HEX and ASCII representation of it. It is similar to the
Unix od command. There is also code to sg_chk_asc.c which checks a given
-text file (typically a copy of http://www.t10.org/lists/asc-num.txt ) and
+text file (typically a copy of https://www.t10.org/lists/asc-num.txt ) and
checks it against the asc/ascq text strings held in sg_lib_data.c .
The 'doc' subdirectory contains a README file containing the urls of
@@ -537,8 +537,8 @@ used for ASCII text.
Other SCSI and storage tools
============================
-See http://sg.danny.cz/sg/tools.html
+See https://sg.danny.cz/sg/tools.html
Douglas Gilbert
-5th June 2020
+8th April 2021
diff --git a/README.freebsd b/README.freebsd
index aa066ef4..b7aaeb08 100644
--- a/README.freebsd
+++ b/README.freebsd
@@ -70,7 +70,7 @@ that they execute. Some utilities are slightly higher level, for
example sg_ses fetches SCSI Enclosure Services (SES) status pages and
can send control pages. Each utility has a man page (placed in
section 8). An overview of sg3_utils can be found at:
-http://sg.danny.cz/sg/sg3_utils.html .
+https://sg.danny.cz/sg/sg3_utils.html .
A copy of the "sg3_utils.html" file is in the "doc" subdirectory.
@@ -149,4 +149,4 @@ utilities.
Douglas Gilbert
-26th March 2021
+8th April 2021
diff --git a/README.solaris b/README.solaris
index 3fa894d3..7dca2b7c 100644
--- a/README.solaris
+++ b/README.solaris
@@ -87,7 +87,7 @@ that they execute. Some utilities are slightly higher level, for
example sg_ses fetches SCSI Enclosure Services (SES) status pages and
can send control pages. Each utility has a man page (placed in
section 8). An overview of sg3_utils can be found at:
-http://sg.danny.cz/sg/sg3_utils.html .
+https://sg.danny.cz/sg/sg3_utils.html .
A copy of the "sg3_utils.html" file is in the "doc" subdirectory.
diff --git a/README.tru64 b/README.tru64
index 6ebd0262..13c57e47 100644
--- a/README.tru64
+++ b/README.tru64
@@ -56,7 +56,7 @@ that they execute. Some utilities are slightly higher level, for
example sg_ses fetches SCSI Enclosure Services (SES) status pages and
can send control pages. Each utility has a man page (placed in
section 8). An overview of sg3_utils can be found at:
-http://sg.danny.cz/sg/sg3_utils.html .
+https://sg.danny.cz/sg/sg3_utils.html .
A copy of the "sg3_utils.html" file is in the "doc" subdirectory.
This package uses autotools infrastructure with the now common
diff --git a/README.win32 b/README.win32
index 912bade0..4d64c085 100644
--- a/README.win32
+++ b/README.win32
@@ -97,7 +97,7 @@ Enclosure Services (SES) status pages and can send control pages. Each
utility has a man page (placed in section 8). There is summary of the mapping
between utility names and the SCSI commands they execute in the COVERAGE
file. An overview of sg3_utils can be found at:
-http://sg.danny.cz/sg/sg3_utils.html .
+https://sg.danny.cz/sg/sg3_utils.html .
A copy of the "sg3_utils.html" file is in the "doc" subdirectory.
Some man pages have examples which use Linux device names which hopefully
diff --git a/debian/changelog b/debian/changelog
index 07151408..0573b641 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,7 @@ sg3-utils (1.47-0.1) unstable; urgency=low
* New upstream version
- -- Douglas Gilbert <dgilbert@interlog.com> Wed, 07 Apr 2021 21:00:00 -0400
+ -- Douglas Gilbert <dgilbert@interlog.com> Wed, 14 Apr 2021 22:00:00 -0400
sg3-utils (1.46-0.1) unstable; urgency=low
diff --git a/doc/rescan-scsi-bus.sh.8 b/doc/rescan-scsi-bus.sh.8
index fa93fcfa..9286d345 100644
--- a/doc/rescan-scsi-bus.sh.8
+++ b/doc/rescan-scsi-bus.sh.8
@@ -1,4 +1,4 @@
-.TH RESCAN\-SCSI\-BUS.SH "1" "July 2018" "rescan\-scsi\-bus.sh" "User Commands"
+.TH RESCAN\-SCSI\-BUS.SH "1" "April 2021" "rescan\-scsi\-bus.sh" "User Commands"
.SH NAME
rescan-scsi-bus.sh \- script to add and remove SCSI devices without rebooting
.SH SYNOPSIS
@@ -122,6 +122,6 @@ which is a comma separated list of single values and/or ranges (no spaces
allowed).
.SH SEE ALSO
There is a brief descripion here:
-http://fibrevillage.com/storage/585-rescan-scsi-bus-sh-script-for-adding-and-removing-scsi-devices-without-rebooting
+https://fibrevillage.com/storage/585-rescan-scsi-bus-sh-script-for-adding-and-removing-scsi-devices-without-rebooting
.PP
-\fBsg3_utils\fR Homepage: \fBhttp://sg.danny.cz/sg\fR
+\fBsg3_utils\fR Homepage: \fBhttps://sg.danny.cz/sg\fR
diff --git a/doc/sg3_utils.8 b/doc/sg3_utils.8
index 05d72695..5f93cbd0 100644
--- a/doc/sg3_utils.8
+++ b/doc/sg3_utils.8
@@ -26,10 +26,10 @@ sg_decode_sense can be used to decode SCSI sense data given on the command
line or in a file. sg_raw \-vvv will output the T10 name of a given SCSI
CDB which is most often 16 bytes or less in length.
.PP
-SCSI draft standards can be found at http://www.t10.org . The standards
+SCSI draft standards can be found at https://www.t10.org . The standards
themselves can be purchased from ANSI and other standards organizations.
A good overview of various SCSI standards can be seen in
-http://www.t10.org/scsi\-3.htm with the SCSI command sets in the upper part
+https://www.t10.org/scsi\-3.htm with the SCSI command sets in the upper part
of the diagram. The highest level (i.e. most abstract) document is the SCSI
Architecture Model (SAM) with SAM\-5 being the most recent standard (ANSI
INCITS 515\-2016) with the most recent draft being SAM\-6 revision 4 . SCSI
@@ -48,7 +48,7 @@ now standards at INCITS(ANSI) and ISO while SAT\-4 is at the draft stage.
The logic to perform the command translation is often called a SAT Layer or
SATL and may be within an operating system, in host bus adapter firmware or
in an external device (e.g. associated with a SAS expander). See
-http://www.t10.org for more information.
+https://www.t10.org for more information.
.PP
There is some support for SCSI tape devices but not for their basic
operation. The reader is referred to the "mt" utility.
@@ -750,9 +750,9 @@ Some utilities that the author has found useful have been placed in
the 'utils' subdirectory.
.SH WEB SITE
There is a web page discussing this package at
-http://sg.danny.cz/sg/sg3_utils.html . The device naming used by this
+https://sg.danny.cz/sg/sg3_utils.html . The device naming used by this
package on various operating systems is discussed at:
-http://sg.danny.cz/sg/device_name.html . There is a git code mirror at
+https://sg.danny.cz/sg/device_name.html . There is a git code mirror at
https://github.com/hreinecke/sg3_utils . The principle code repository
uses subversion and is on the author's equipment. The author keeps track
of this via the subversion revision number which is an ascending integer
diff --git a/doc/sg_compare_and_write.8 b/doc/sg_compare_and_write.8
index 43926626..83ea2ba5 100644
--- a/doc/sg_compare_and_write.8
+++ b/doc/sg_compare_and_write.8
@@ -1,4 +1,4 @@
-.TH "COMPARE AND WRITE" "8" "November 2020" "sg3_utils\-1.46" SG3_UTILS
+.TH "COMPARE AND WRITE" "8" "April 2021" "sg3_utils\-1.47" SG3_UTILS
.SH NAME
sg_compare_and_write \- send the SCSI COMPARE AND WRITE command
.SH SYNOPSIS
@@ -52,7 +52,7 @@ the offset of the first byte mismatch). To suppress these messages use the
status will be set to 14.
.PP
This command is defined in SBC\-3 whose most recent revision is 36. SBC\-3
-and other SCSI documents can be found at http://www.t10.org .
+and other SCSI documents can be found at https://www.t10.org .
.SH OPTIONS
Arguments to long options are mandatory for short options as well.
The options are arranged in alphabetical order based on the long option name.
diff --git a/doc/sg_dd.8 b/doc/sg_dd.8
index 5334e019..7d931b6d 100644
--- a/doc/sg_dd.8
+++ b/doc/sg_dd.8
@@ -1,4 +1,4 @@
-.TH SG_DD "8" "March 2021" "sg3_utils\-1.46" SG3_UTILS
+.TH SG_DD "8" "April 2021" "sg3_utils\-1.47" SG3_UTILS
.SH NAME
sg_dd \- copy data to and from files and devices, especially SCSI
devices
@@ -578,7 +578,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.SH "SEE ALSO"
cmp(1)
.PP
-There is a web page discussing sg_dd at http://sg.danny.cz/sg/sg_dd.html
+There is a web page discussing sg_dd at https://sg.danny.cz/sg/sg_dd.html
.PP
A POSIX threads version of this utility called
.B sgp_dd
@@ -590,7 +590,7 @@ The lmbench package contains
.B lmdd
which is also interesting. For moving data to and from tapes see
.B dt
-which is found at http://www.scsifaq.org/RMiller_Tools/index.html
+which is found at https://www.scsifaq.org/RMiller_Tools/index.html
.PP
To change mode parameters that effect a SCSI device's caching and error
recovery see
diff --git a/doc/sg_decode_sense.8 b/doc/sg_decode_sense.8
index 5a141bf7..fc9f59e9 100644
--- a/doc/sg_decode_sense.8
+++ b/doc/sg_decode_sense.8
@@ -12,7 +12,7 @@ sg_decode_sense \- decode SCSI sense and related data
This utility takes SCSI sense data in binary or as a sequence of
ASCII hexadecimal bytes and decodes it. The primary reference for the
decoding is SPC\-4 ANSI INCITS 513\-2015 and the most recent draft
-SPC\-5 revision 19 which can be found at http://www.t10.org and other
+SPC\-5 revision 19 which can be found at https://www.t10.org and other
locations on the internet.
.PP
SCSI sense data is often found in kernel log files as a result of
diff --git a/doc/sg_get_config.8 b/doc/sg_get_config.8
index ba0c3921..4c4ea0c1 100644
--- a/doc/sg_get_config.8
+++ b/doc/sg_get_config.8
@@ -17,7 +17,7 @@ not necessarily) have media in them. These devices may well be connected via
ATAPI, USB or IEEE 1394 transports. In such cases they are "SCSI" devices
only in the sense that they use the "Multi\-Media command" set (MMC).
MMC is a specialized SCSI command set whose definition can be found
-at http://www.t10.org .
+at https://www.t10.org .
.PP
This utility is based on the MMC\-4 and later draft standards. See section
5 on "Features and Profile for Multi_Media devices" for more information on
@@ -107,7 +107,7 @@ There are multiple versions of the MMC (draft) standards: MMC [1997],
MMC\-2 [2000], MMC\-3 [2002], MMC\-4 and MMC\-5. The first three are now
ANSI INCITS standards with the year they became standards shown in
brackets. The draft immediately prior to standardization can
-be found at http://www.t10.org . In the initial MMC standard there
+be found at https://www.t10.org . In the initial MMC standard there
was no GET CONFIGURATION command and the relevant information was
obtained from the "CD capabilities and mechanical status mode
page" (mode page 0x2a). It was later renamed the "MM capabilities and
diff --git a/doc/sg_get_lba_status.8 b/doc/sg_get_lba_status.8
index 347a958b..282b3fed 100644
--- a/doc/sg_get_lba_status.8
+++ b/doc/sg_get_lba_status.8
@@ -132,7 +132,7 @@ Length field in the response was modified. Prior to that the byte offset
was 8 and in revision 25 it was changed to 4.
.PP
For a discussion of logical block provisioning see section 4.7 of sbc4r14.pdf
-at http://www.t10.org (or the corresponding section of a later draft).
+at https://www.t10.org (or the corresponding section of a later draft).
.SH EXIT STATUS
The exit status of sg_get_lba_status is 0 when it is successful. Otherwise
see the sg3_utils(8) man page.
diff --git a/doc/sg_inq.8 b/doc/sg_inq.8
index 9c799ce9..db591986 100644
--- a/doc/sg_inq.8
+++ b/doc/sg_inq.8
@@ -55,7 +55,7 @@ In some operating systems a NVMe device (e.g. SSD) may be given as the
.PP
The reference document used for interpreting an INQUIRY is T10/BSR INCITS
502 Revision 19 which is draft SPC\-5 revision 19, 14 February 2018). It can
-be found at http://www.t10.org . Obsolete and reserved items in the standard
+be found at https://www.t10.org . Obsolete and reserved items in the standard
INQUIRY response output are displayed in square brackets.
.SH OPTIONS
Arguments to long options are mandatory for short options as well.
@@ -497,7 +497,7 @@ called sg_vpd specializes in showing their contents. The sdparm utility
can also be used to show the contents of VPD pages.
.PP
Further examples of sg_inq together with some typical output can be found
-on http://sg.danny.cz/sg/sg3_utils.html web page.
+on https://sg.danny.cz/sg/sg3_utils.html web page.
.SH ENVIRONMENT VARIABLES
Since sg3_utils version 1.23 the environment variable SG3_UTILS_OLD_OPTS
can be given. When it is present this utility will expect the older command
diff --git a/doc/sg_raw.8 b/doc/sg_raw.8
index 726283f8..95519848 100644
--- a/doc/sg_raw.8
+++ b/doc/sg_raw.8
@@ -246,7 +246,7 @@ sg_raw.exe PhysicalDrive1 a1 0c 0e 00 00 00 00 00 00 e0 00 00
This example is from Windows and shows a ATA STANDBY IMMEDIATE command
being sent to PhysicalDrive1. That ATA command is contained within
the SCSI ATA PASS\-THROUGH(12) command (see the SAT or SAT\-2 standard at
-http://www.t10.org). Notice that the STANDBY IMMEDIATE command does not
+https://www.t10.org). Notice that the STANDBY IMMEDIATE command does not
send or receive any additional data, however if it fails sense data
should be returned and displayed.
.SH EXIT STATUS
diff --git a/doc/sg_read_block_limits.8 b/doc/sg_read_block_limits.8
index 1a32171f..1347acfb 100644
--- a/doc/sg_read_block_limits.8
+++ b/doc/sg_read_block_limits.8
@@ -10,7 +10,7 @@ sg_read_block_limits \- send SCSI READ BLOCK LIMITS command
.PP
Send a SCSI READ BLOCK LIMITS command to \fIDEVICE\fR and outputs the
response. This command is defined for tape (drives) and its description
-is found in the SSC documents at http://www.t10.org .
+is found in the SSC documents at https://www.t10.org .
.SH OPTIONS
Arguments to long options are mandatory for short options as well.
.TP
diff --git a/doc/sg_referrals.8 b/doc/sg_referrals.8
index b19e4006..cabb8359 100644
--- a/doc/sg_referrals.8
+++ b/doc/sg_referrals.8
@@ -54,7 +54,7 @@ caused by this option is sent to stderr.
print the version string and then exit.
.SH NOTES
For a discussion of referrals see section 4.25 of sbc3r25.pdf
-at http://www.t10.org (or the corresponding section of a later draft).
+at https://www.t10.org (or the corresponding section of a later draft).
.SH EXIT STATUS
The exit status of sg_referrals is 0 when it is successful. Otherwise
see the sg3_utils(8) man page.
diff --git a/doc/sg_safte.8 b/doc/sg_safte.8
index 0b9c43e6..863a3426 100644
--- a/doc/sg_safte.8
+++ b/doc/sg_safte.8
@@ -102,7 +102,7 @@ are the authors. Intel have a zip archive containing this and related
documents in the "SAF\-TE: SCSI Accessed Fault Tolerant Enclosures
Interface Specification" section of this page:
.PP
-http://www.intel.com/content/www/us/en/servers/ipmi/ipmi\-technical\-resources.html
+https://www.intel.com/content/www/us/en/servers/ipmi/ipmi\-technical\-resources.html
.PP
Similar functionality is provided by SPC\-4 SCSI Enclosure Services (SES)
devices (Peripheral device type 0xd), which can be queried with the
diff --git a/doc/sg_scan.8.win32 b/doc/sg_scan.8.win32
index ee20e6c0..32b99b26 100644
--- a/doc/sg_scan.8.win32
+++ b/doc/sg_scan.8.win32
@@ -103,7 +103,7 @@ When the \fI\-\-scsi\fR option is given the SCSI adapter tuple is followed
by a list of two or three fields. First is "claimed=0|1" indicating whether
a class driver has claimed the device. The next field is "pdt=<num>"
where <num> is the "peripheral device type" as defined in the SCSI INQUIRY
-command (see SPC\-4 at http://www.t10.org). The <num> has a trailing "h" to
+command (see SPC\-4 at https://www.t10.org). The <num> has a trailing "h" to
indicate that it is hexadecimal. Sometimes a third field with the
word "dubious" appears. This flags that what is supposed to be a SCSI
INQUIRY command response has a badly formed "additional length" field.
diff --git a/doc/sg_ses.8 b/doc/sg_ses.8
index 452c6184..e16eb0dc 100644
--- a/doc/sg_ses.8
+++ b/doc/sg_ses.8
@@ -45,7 +45,7 @@ If the \fIDEVICE\fR argument is given with no options then the names of all
diagnostic pages (dpages) supported are listed. Most, but not necessarily
all, of the named dpages are defined in the SES standards and drafts. The
most recent reference for this utility is the draft SCSI Enclosure Services
-4 document T10/BSR INCITS 555 Revision 5 at http://www.t10.org . Existing
+4 document T10/BSR INCITS 555 Revision 5 at https://www.t10.org . Existing
standards for SES, SES\-2 and SES\-3 are ANSI INCITS 305\-1998 and ANSI
INCITS 448\-2008 and ANSI INCITS 518\-2017 respectively.
.PP
@@ -75,7 +75,7 @@ held by the utility (\fI\-\-enumerate\fR), or printing the version string
of this utility.
.PP
There is a web page discussing this utility at
-http://sg.danny.cz/sg/sg_ses.html . Support for downloading microcode to
+https://sg.danny.cz/sg/sg_ses.html . Support for downloading microcode to
a SES device has been placed in a separate utility called sg_ses_microcode.
.PP
In the following sections "dpage" refers to a diagnostic page, either fetched
@@ -655,7 +655,7 @@ safte\-monitor utility on the Internet.
The internal join array is statically allocated and its size is controlled
by the MX_JOIN_ROWS define. Its current value is 520.
.SH EXAMPLES
-Examples can also be found at http://sg.danny.cz/sg/sg_ses.html
+Examples can also be found at https://sg.danny.cz/sg/sg_ses.html
.PP
The following examples use Linux device names. For suitable device names
in other supported Operating Systems see the sg3_utils(8) man page.
diff --git a/doc/sg_verify.8 b/doc/sg_verify.8
index 425af3bb..7a55e1da 100644
--- a/doc/sg_verify.8
+++ b/doc/sg_verify.8
@@ -12,7 +12,7 @@ sg_verify \- invoke SCSI VERIFY command(s) on a block device
.\" Add any additional description here
.PP
Sends one or more SCSI VERIFY (10 or 16) commands to \fIDEVICE\fR. These SCSI
-commands are defined in the SBC\-2 and SBC\-3 standards at http://www.t10.org
+commands are defined in the SBC\-2 and SBC\-3 standards at https://www.t10.org
and SBC\-4 drafts.
.PP
When \fI\-\-ndo=NDO\fR is not given then the verify starts at the logical
diff --git a/doc/sg_vpd.8 b/doc/sg_vpd.8
index c86311ac..17d5f130 100644
--- a/doc/sg_vpd.8
+++ b/doc/sg_vpd.8
@@ -27,7 +27,7 @@ using the \fI\-\-ident\fR option.
.PP
The reference document used for interpreting VPD pages (and the INQUIRY
standard response) is T10/BSR INCITS 502 Revision 22 which is draft SPC\-5
-revision 19, 22 April 2019. It can be found at http://www.t10.org .
+revision 19, 22 April 2019. It can be found at https://www.t10.org .
.PP
When no options are given, other than a \fIDEVICE\fR, then the "Supported
VPD pages" (0x0) VPD page is fetched and decoded.
@@ -314,7 +314,7 @@ excluding vendor specific VPD pages that start at page number 0xc0:
.PP
# sg_vpd \-\-all \-\-page=0xbf \-\-raw \-\-inhex=all_vpds.bin
.PP
-Further examples can be found on the http://sg.danny.cz/sg/sg3_utils.html
+Further examples can be found on the https://sg.danny.cz/sg/sg3_utils.html
web page.
.SH AUTHOR
Written by Douglas Gilbert
diff --git a/doc/sg_xcopy.8 b/doc/sg_xcopy.8
index 197fc37b..2e5a653e 100644
--- a/doc/sg_xcopy.8
+++ b/doc/sg_xcopy.8
@@ -275,7 +275,7 @@ See the 'append' flag.
.SH NOTES
Copying data behind an Operating System's back can cause problems. In the
case of Linux, users should look at this link:
-http://linux\-mm.org/Drop_Caches
+https://linux\-mm.org/Drop_Caches
.br
This command sequence may be useful:
.br
@@ -359,7 +359,7 @@ Copyright \(co 2000\-2019 Hannes Reinecke and Douglas Gilbert
This software is distributed under the GPL version 2. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.SH "SEE ALSO"
-There is a web page discussing sg_dd at http://sg.danny.cz/sg/sg_dd.html
+There is a web page discussing sg_dd at https://sg.danny.cz/sg/sg_dd.html
.PP
A POSIX threads version of this utility called
.B sgp_dd
@@ -371,7 +371,7 @@ The lmbench package contains
.B lmdd
which is also interesting. For moving data to and from tapes see
.B dt
-which is found at http://www.scsifaq.org/RMiller_Tools/index.html
+which is found at https://www.scsifaq.org/RMiller_Tools/index.html
.PP
To change mode parameters that effect a SCSI device's caching and error
recovery see
diff --git a/doc/sginfo.8 b/doc/sginfo.8
index bb913b98..66e4fb89 100644
--- a/doc/sginfo.8
+++ b/doc/sginfo.8
@@ -21,7 +21,7 @@ available.
This utility is in legacy mode, only obvious bugs will be fixed. Options
like \fI\-l\fR (to list devices) are broken in recent versions of
Linux (e.g. 2.6 series and later); the lsscsi(8) utility can be used
-instead. Also mode pages are not being updated as http://www.t10.org
+instead. Also mode pages are not being updated as https://www.t10.org
adds and modifies mode page fields. Those interested in SCSI mode pages
may find the
.B sdparm
@@ -300,7 +300,7 @@ obtained by reading the mode page (i.e. via a MODE SENSE command) is sent
back when the mode page is written (i.e. via a MODE SELECT command).
.PP
.SH REFERENCES
-SCSI (draft) standards can be found at http://www.t10.org . The relevant
+SCSI (draft) standards can be found at https://www.t10.org . The relevant
documents are SPC\-4 (mode pages common to all device types),
SBC\-2 (direct access devices [e.g. disks]), MMC\-4 (CDs and DVDs) and
SSC\-2 (tapes).
diff --git a/include/sg_lib.h b/include/sg_lib.h
index e5bcc3b5..006c566c 100644
--- a/include/sg_lib.h
+++ b/include/sg_lib.h
@@ -26,7 +26,7 @@
* be useful to applications that communicate with devices that use a
* SCSI command set. These command sets have names like SPC-4, SBC-3,
* SSC-3, SES-2 and draft standards defining them can be found at
- * http://www.t10.org . Virtually all devices in the Linux SCSI subsystem
+ * https://www.t10.org . Virtually all devices in the Linux SCSI subsystem
* utilize SCSI command sets. Many devices in other Linux device subsystems
* utilize SCSI command sets either natively or via emulation (e.g. a
* SATA disk in a USB enclosure).
diff --git a/lib/sg_lib.c b/lib/sg_lib.c
index c916f29f..1860e69a 100644
--- a/lib/sg_lib.c
+++ b/lib/sg_lib.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999-2020 Douglas Gilbert.
+ * Copyright (c) 1999-2021 Douglas Gilbert.
* All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the BSD_LICENSE file.
@@ -21,7 +21,7 @@
* and a GPL notice.
*
* Much of the data in this file is derived from SCSI draft standards
- * found at http://www.t10.org with the "SCSI Primary Commands-4" (SPC-4)
+ * found at https://www.t10.org with the "SCSI Primary Commands-4" (SPC-4)
* being the central point of reference.
*
* Contributions:
diff --git a/sg3_utils.spec b/sg3_utils.spec
index f46682ea..8526c2d4 100644
--- a/sg3_utils.spec
+++ b/sg3_utils.spec
@@ -5,8 +5,8 @@ Version: 1.47
Release: 1
License: GPL
Group: Utilities/System
-Source: ftp://sg.danny.cz/sg/p/sg3_utils-%{version}.tgz
-Url: http://sg.danny.cz/sg/sg3_utils.html
+Source: https://sg.danny.cz/sg/p/sg3_utils-%{version}.tgz
+Url: https://sg.danny.cz/sg/sg3_utils.html
Provides: sg_utils
# BuildRequires: libtool
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -84,7 +84,7 @@ fi
%{_libdir}/*.la
%changelog
-* Wed Apr 07 2021 - dgilbert at interlog dot com
+* Wed Apr 14 2021 - dgilbert at interlog dot com
- track t10 changes
* sg3_utils-1.47
diff --git a/src/sg_compare_and_write.c b/src/sg_compare_and_write.c
index 23d69b3a..adf27779 100644
--- a/src/sg_compare_and_write.c
+++ b/src/sg_compare_and_write.c
@@ -26,7 +26,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*
* This command performs a SCSI COMPARE AND WRITE. See SBC-3 at
- * http://www.t10.org
+ * https://www.t10.org
*
*/
diff --git a/src/sg_format.c b/src/sg_format.c
index 4c7e154d..e629104e 100644
--- a/src/sg_format.c
+++ b/src/sg_format.c
@@ -15,7 +15,7 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
- * See http://www.t10.org for relevant standards and drafts. The most recent
+ * See https://www.t10.org for relevant standards and drafts. The most recent
* draft is SBC-4 revision 2.
*/
diff --git a/src/sg_inq.c b/src/sg_inq.c
index 35635a35..002f1536 100644
--- a/src/sg_inq.c
+++ b/src/sg_inq.c
@@ -8,7 +8,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*
* This program outputs information provided by a SCSI INQUIRY command.
- * It is mainly based on the SCSI SPC-5 document at http://www.t10.org .
+ * It is mainly based on the SCSI SPC-5 document at https://www.t10.org .
*
* Acknowledgment:
* - Martin Schwenke <martin at meltin dot net> added the raw switch and
diff --git a/src/sg_inq_data.c b/src/sg_inq_data.c
index e67ac576..1602def5 100644
--- a/src/sg_inq_data.c
+++ b/src/sg_inq_data.c
@@ -9,7 +9,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*
* This is an auxiliary file holding data tables for the sg_inq utility.
- * It is mainly based on the SCSI SPC-5 document at http://www.t10.org .
+ * It is mainly based on the SCSI SPC-5 document at https://www.t10.org .
*/
#include <unistd.h>
@@ -46,7 +46,7 @@ const char * sg_ansi_version_arr[16] =
};
/* table from SPC-5 revision 16 [sorted numerically (from Annex E.9)] */
-/* Can also be obtained from : http://www.t10.org/lists/stds.txt 20170114 */
+/* Can also be obtained from : https://www.t10.org/lists/stds.txt 20170114 */
/* Corrected against spc5r21 on 20190312 */
#ifdef SG_SCSI_STRINGS
diff --git a/src/sg_raw.c b/src/sg_raw.c
index ddf216d1..4e94a4b1 100644
--- a/src/sg_raw.c
+++ b/src/sg_raw.c
@@ -111,7 +111,7 @@ pr_version()
"This is free software. You may redistribute copies of it "
"under the terms of\n"
"the GNU General Public License "
- "<http://www.gnu.org/licenses/gpl.html>.\n"
+ "<https://www.gnu.org/licenses/gpl.html>.\n"
"There is NO WARRANTY, to the extent permitted by law.\n");
}
diff --git a/src/sg_sat_identify.c b/src/sg_sat_identify.c
index 334ac832..00676b4d 100644
--- a/src/sg_sat_identify.c
+++ b/src/sg_sat_identify.c
@@ -30,7 +30,7 @@
/* This program uses a ATA PASS-THROUGH SCSI command to package an
* ATA IDENTIFY (PACKAGE) DEVICE command. It is based on the SCSI to
- * ATA Translation (SAT) drafts and standards. See http://www.t10.org
+ * ATA Translation (SAT) drafts and standards. See https://www.t10.org
* for drafts. SAT is a standard: SAT ANSI INCITS 431-2007 (draft prior
* to that is sat-r09.pdf). SAT-2 is also a standard: SAT-2 ANSI INCITS
* 465-2010 and the draft prior to that is sat2r09.pdf . The SAT-3 is
diff --git a/src/sg_sat_phy_event.c b/src/sg_sat_phy_event.c
index a6e89610..9b1f588f 100644
--- a/src/sg_sat_phy_event.c
+++ b/src/sg_sat_phy_event.c
@@ -32,7 +32,7 @@ static const char * version_str = "1.13 20180628";
/* This program uses a ATA PASS-THROUGH SCSI command. This usage is
* defined in the SCSI to ATA Translation (SAT) drafts and standards.
- * See http://www.t10.org for drafts. SAT is a standard: SAT ANSI INCITS
+ * See https://www.t10.org for drafts. SAT is a standard: SAT ANSI INCITS
* 431-2007 (draft prior to that is sat-r09.pdf). SAT-2 is also a
* standard: SAT-2 ANSI INCITS 465-2010 and the draft prior to that is
* sat2r09.pdf . The SAT-3 project has started and the most recent draft
diff --git a/src/sg_sat_read_gplog.c b/src/sg_sat_read_gplog.c
index 233ceae2..d5ec3f5a 100644
--- a/src/sg_sat_read_gplog.c
+++ b/src/sg_sat_read_gplog.c
@@ -29,7 +29,7 @@
/* This program uses a ATA PASS-THROUGH SCSI command. This usage is
* defined in the SCSI to ATA Translation (SAT) drafts and standards.
- * See http://www.t10.org for drafts. SAT is a standard: SAT ANSI INCITS
+ * See https://www.t10.org for drafts. SAT is a standard: SAT ANSI INCITS
* 431-2007 (draft prior to that is sat-r09.pdf). SAT-2 is also a
* standard: SAT-2 ANSI INCITS 465-2010 and the draft prior to that is
* sat2r09.pdf . The SAT-3 project has started and the most recent draft
diff --git a/src/sg_sat_set_features.c b/src/sg_sat_set_features.c
index 81313f96..e873fe60 100644
--- a/src/sg_sat_set_features.c
+++ b/src/sg_sat_set_features.c
@@ -28,7 +28,7 @@
/* This program uses a ATA PASS-THROUGH SCSI command. This usage is
* defined in the SCSI to ATA Translation (SAT) drafts and standards.
- * See http://www.t10.org for drafts. SAT is a standard: SAT ANSI INCITS
+ * See https://www.t10.org for drafts. SAT is a standard: SAT ANSI INCITS
* 431-2007 (draft prior to that is sat-r09.pdf). SAT-2 is also a
* standard: SAT-2 ANSI INCITS 465-2010 and the draft prior to that is
* sat2r09.pdf . The SAT-3 project has started and the most recent draft
diff --git a/src/sg_vpd.c b/src/sg_vpd.c
index 2dd82a08..7d2099b9 100644
--- a/src/sg_vpd.c
+++ b/src/sg_vpd.c
@@ -36,7 +36,7 @@
This program fetches Vital Product Data (VPD) pages from the given
device and outputs it as directed. VPD pages are obtained via a
SCSI INQUIRY command. Most of the data in this program is obtained
- from the SCSI SPC-4 document at http://www.t10.org .
+ from the SCSI SPC-4 document at https://www.t10.org .
*/
diff --git a/src/sg_vpd_vendor.c b/src/sg_vpd_vendor.c
index 554a1f88..4f3b25e5 100644
--- a/src/sg_vpd_vendor.c
+++ b/src/sg_vpd_vendor.c
@@ -33,7 +33,7 @@
This program fetches Vital Product Data (VPD) pages from the given
device and outputs it as directed. VPD pages are obtained via a
SCSI INQUIRY command. Most of the data in this program is obtained
- from the SCSI SPC-4 document at http://www.t10.org .
+ from the SCSI SPC-4 document at https://www.t10.org .
Acknowledgments:
- Lars Marowsky-Bree <lmb at suse dot de> contributed Unit Path Report
diff --git a/testing/README b/testing/README
index 68f82244..a144e77b 100644
--- a/testing/README
+++ b/testing/README
@@ -24,7 +24,7 @@ is also a large amount of error checking, as many of these utilities
were used to test new features placed in the sg v4 driver in Linux.
The sg_chk_asc utility decodes the SCSI additional sense code table
-found at http://www.t10.org/lists/asc-num.txt and checks it against
+found at https://www.t10.org/lists/asc-num.txt and checks it against
the table found in sg_lib_data.c in the lib/ subdirectory. It is
designed to keep the table in sg_lib_data.c in "sync" with the
table at the t10.org web site.
diff --git a/testing/sg_chk_asc.c b/testing/sg_chk_asc.c
index 8e26e3bc..1f5f7edb 100644
--- a/testing/sg_chk_asc.c
+++ b/testing/sg_chk_asc.c
@@ -24,7 +24,7 @@
* checks it against the additional sense codes held in the
* sg_lib.c file.
* The online version of the asc_ascq codes can be found at:
- * http://www.t10.org/lists/asc-num.txt
+ * https://www.t10.org/lists/asc-num.txt
*/
static const char * version_str = "1.09 20210226";
diff --git a/testing/uapi_sg.h b/testing/uapi_sg.h
index cf002847..22ed1e1a 100644
--- a/testing/uapi_sg.h
+++ b/testing/uapi_sg.h
@@ -20,12 +20,12 @@
* Documentation
* =============
* A web site for the SG device driver can be found at:
- * http://sg.danny.cz/sg [alternatively check the MAINTAINERS file]
+ * https://sg.danny.cz/sg [alternatively check the MAINTAINERS file]
* The documentation for the sg version 3 driver can be found at:
- * http://sg.danny.cz/sg/p/sg_v3_ho.html
+ * https://sg.danny.cz/sg/p/sg_v3_ho.html
* Also see: <kernel_source>/Documentation/scsi/scsi-generic.txt
*
- * For utility and test programs see: http://sg.danny.cz/sg/sg3_utils.html
+ * For utility and test programs see: https://sg.danny.cz/sg/sg3_utils.html
*/
#include <stddef.h>