[ab0972f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[e355d777] | 7 | <!ENTITY sg3_utils-download-http "http://sg.danny.cz/sg/p/sg3_utils-&sg3_utils-version;.tar.xz">
|
---|
[ab0972f] | 8 | <!ENTITY sg3_utils-download-ftp " ">
|
---|
[fea7a37] | 9 | <!ENTITY sg3_utils-md5sum "913ac2c9069d2ba44e05565a445810ab">
|
---|
| 10 | <!ENTITY sg3_utils-size "752 KB">
|
---|
| 11 | <!ENTITY sg3_utils-buildsize "23 MB">
|
---|
[c93612f2] | 12 | <!ENTITY sg3_utils-time "0.2 SBU">
|
---|
[ab0972f] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="sg3_utils" xreflabel="sg3_utils-&sg3_utils-version;">
|
---|
| 16 | <?dbhtml filename="sg3_utils.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>sg3_utils-&sg3_utils-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="sg3_utils">
|
---|
| 26 | <primary sortas="a-sg3_utils">sg3_utils</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to sg3_utils</title>
|
---|
| 31 |
|
---|
[e355d777] | 32 | <para>
|
---|
| 33 | The <application>sg3_utils</application> package contains low level
|
---|
| 34 | utilities for devices that use a SCSI command set. Apart from SCSI parallel
|
---|
| 35 | interface (SPI) devices, the SCSI command set is used by ATAPI devices
|
---|
| 36 | (CD/DVDs and tapes), USB mass storage devices, Fibre Channel disks, IEEE
|
---|
| 37 | 1394 storage devices (that use the "SBP" protocol), SAS, iSCSI and FCoE
|
---|
| 38 | devices (amongst others).
|
---|
| 39 | </para>
|
---|
[ab0972f] | 40 |
|
---|
[43b1dad3] | 41 | &lfs83_checked;
|
---|
[47421bb8] | 42 |
|
---|
[ab0972f] | 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
[e355d777] | 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&sg3_utils-download-http;"/>
|
---|
| 48 | </para>
|
---|
[ab0972f] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[e355d777] | 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&sg3_utils-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
[ab0972f] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[e355d777] | 56 | <para>
|
---|
| 57 | Download MD5 sum: &sg3_utils-md5sum;
|
---|
| 58 | </para>
|
---|
[ab0972f] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[e355d777] | 61 | <para>
|
---|
| 62 | Download size: &sg3_utils-size;
|
---|
| 63 | </para>
|
---|
[ab0972f] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[e355d777] | 66 | <para>
|
---|
| 67 | Estimated disk space required: &sg3_utils-buildsize;
|
---|
| 68 | </para>
|
---|
[ab0972f] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[e355d777] | 71 | <para>
|
---|
| 72 | Estimated build time: &sg3_utils-time;
|
---|
| 73 | </para>
|
---|
[ab0972f] | 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
| 76 |
|
---|
[afd2e883] | 77 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 78 | <itemizedlist spacing="compact">
|
---|
| 79 | <listitem>
|
---|
| 80 | <para>
|
---|
| 81 | Required patch:
|
---|
| 82 | <ulink url="&patch-root;/sg3_utils-&sg3_utils-version;-glibc_2.28-fixes-1.patch"/>
|
---|
| 83 | </para>
|
---|
| 84 | </listitem>
|
---|
| 85 | </itemizedlist>
|
---|
| 86 |
|
---|
[ab0972f] | 87 | <para condition="html" role="usernotes">User Notes:
|
---|
[5b38e37] | 88 | <ulink url="&blfs-wiki;/sg3_utils"/>
|
---|
| 89 | </para>
|
---|
[ab0972f] | 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="installation">
|
---|
| 93 | <title>Installation of sg3_utils</title>
|
---|
| 94 |
|
---|
[e355d777] | 95 | <para>
|
---|
| 96 | Install <application>sg3_utils</application> by running the following
|
---|
| 97 | commands:
|
---|
| 98 | </para>
|
---|
[ab0972f] | 99 |
|
---|
[43b1dad3] | 100 | <screen><userinput>patch -Np1 -i ../sg3_utils-&sg3_utils-version;-glibc_2.28-fixes-1.patch &&
|
---|
[afd2e883] | 101 | ./configure --prefix=/usr --disable-static &&
|
---|
[ab0972f] | 102 | make</userinput></screen>
|
---|
| 103 |
|
---|
[e355d777] | 104 | <para>
|
---|
| 105 | This package does not come with a test suite.
|
---|
| 106 | </para>
|
---|
[ab0972f] | 107 |
|
---|
[e355d777] | 108 | <para>
|
---|
| 109 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 110 | </para>
|
---|
[ab0972f] | 111 |
|
---|
| 112 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 113 |
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
[47421bb8] | 116 | <sect2 role="commands">
|
---|
| 117 | <title>Command Explanations</title>
|
---|
| 118 |
|
---|
[e355d777] | 119 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 120 | href="../../xincludes/static-libraries.xml"/>
|
---|
[47421bb8] | 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
[ab0972f] | 124 | <sect2 role="content">
|
---|
| 125 | <title>Contents</title>
|
---|
| 126 |
|
---|
| 127 | <segmentedlist>
|
---|
| 128 | <segtitle>Installed Programs</segtitle>
|
---|
| 129 | <segtitle>Installed Library</segtitle>
|
---|
[c3c56b2] | 130 | <segtitle>Installed Directories</segtitle>
|
---|
[ab0972f] | 131 |
|
---|
| 132 | <seglistitem>
|
---|
[e355d777] | 133 | <seg>
|
---|
[b3c153cc] | 134 | scsi_logging_level, scsi_mandat, scsi_readcap, scsi_ready, scsi_satl,
|
---|
| 135 | scsi_start, scsi_stop, scsi_temperature, sg_compare_and_write,
|
---|
| 136 | sg_copy_results, sg_dd, sg_decode_sense, sg_emc_trespass, sg_format,
|
---|
[c93612f2] | 137 | sg_get_config, sg_get_lba_status, sg_ident, sg_inq, sg_logs, sg_luns,
|
---|
| 138 | sg_map, sg_map26, sg_modes, sg_opcodes, sg_persist, sg_prevent,
|
---|
| 139 | sg_raw, sg_rbuf, sg_rdac, sg_read, sg_read_block_limits,
|
---|
| 140 | sg_read_buffer, sg_read_long, sg_readcap, sg_reassign, sg_referrals,
|
---|
| 141 | sg_rep_zones, sg_requests, sg_reset, sg_reset_wp, sg_rmsn, sg_rtpg,
|
---|
[b3c153cc] | 142 | sg_safte, sg_sanitize, sg_sat_identify, sg_sat_phy_event,
|
---|
[c93612f2] | 143 | sg_sat_read_gplog, sg_sat_set_features, sg_scan, sg_senddiag, sg_ses,
|
---|
| 144 | sg_ses_microcode, sg_start, sg_stpg, sg_sync, sg_test_rwbuf, sg_turs,
|
---|
| 145 | sg_unmap, sg_verify, sg_vpd, sg_wr_mode, sg_write_buffer,
|
---|
| 146 | sg_write_long, sg_write_same, sg_write_verify, sg_xcopy, sginfo,
|
---|
| 147 | sgm_dd, and sgp_dd
|
---|
[e355d777] | 148 | </seg>
|
---|
| 149 | <seg>
|
---|
| 150 | libsgutils2.so
|
---|
| 151 | </seg>
|
---|
[c3c56b2] | 152 | <seg>
|
---|
| 153 | None
|
---|
| 154 | </seg>
|
---|
[ab0972f] | 155 | </seglistitem>
|
---|
| 156 | </segmentedlist>
|
---|
| 157 |
|
---|
| 158 | <variablelist>
|
---|
| 159 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 160 | <?dbfo list-presentation="list"?>
|
---|
| 161 | <?dbhtml list-presentation="table"?>
|
---|
| 162 |
|
---|
[af5248e2] | 163 | <varlistentry id="scsi_logging_level">
|
---|
| 164 | <term><command>scsi_logging_level</command></term>
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>
|
---|
[b69a5a5] | 167 | accesses Linux SCSI logging level information.
|
---|
[af5248e2] | 168 | </para>
|
---|
| 169 | <indexterm zone="sg3_utils scsi_logging_level">
|
---|
| 170 | <primary sortas="b-scsi_logging_level">scsi_logging_level</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="scsi_mandat">
|
---|
| 176 | <term><command>scsi_mandat</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>
|
---|
[b69a5a5] | 179 | checks SCSI device support for mandatory commands.
|
---|
[af5248e2] | 180 | </para>
|
---|
| 181 | <indexterm zone="sg3_utils scsi_mandat">
|
---|
| 182 | <primary sortas="b-scsi_mandat">scsi_mandat</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
| 187 | <varlistentry id="scsi_readcap">
|
---|
| 188 | <term><command>scsi_readcap</command></term>
|
---|
| 189 | <listitem>
|
---|
| 190 | <para>
|
---|
[b69a5a5] | 191 | does the SCSI READ CAPACITY command on disks.
|
---|
[af5248e2] | 192 | </para>
|
---|
| 193 | <indexterm zone="sg3_utils scsi_readcap">
|
---|
| 194 | <primary sortas="b-scsi_readcap">scsi_readcap</primary>
|
---|
| 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 |
|
---|
| 199 | <varlistentry id="scsi_ready">
|
---|
| 200 | <term><command>scsi_ready</command></term>
|
---|
| 201 | <listitem>
|
---|
| 202 | <para>
|
---|
[b69a5a5] | 203 | does the SCSI TEST UNIT READY on devices.
|
---|
[af5248e2] | 204 | </para>
|
---|
| 205 | <indexterm zone="sg3_utils scsi_ready">
|
---|
| 206 | <primary sortas="b-scsi_ready">scsi_ready</primary>
|
---|
| 207 | </indexterm>
|
---|
| 208 | </listitem>
|
---|
| 209 | </varlistentry>
|
---|
| 210 |
|
---|
| 211 | <varlistentry id="scsi_satl">
|
---|
| 212 | <term><command>scsi_satl</command></term>
|
---|
| 213 | <listitem>
|
---|
| 214 | <para>
|
---|
[b69a5a5] | 215 | checks for SCSI to ATA Translation (SAT) device support.
|
---|
[af5248e2] | 216 | </para>
|
---|
| 217 | <indexterm zone="sg3_utils scsi_satl">
|
---|
| 218 | <primary sortas="b-scsi_satl">scsi_satl</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
| 223 | <varlistentry id="scsi_start">
|
---|
| 224 | <term><command>scsi_start</command></term>
|
---|
| 225 | <listitem>
|
---|
| 226 | <para>
|
---|
[b69a5a5] | 227 | starts one or more SCSI disks.
|
---|
[af5248e2] | 228 | </para>
|
---|
| 229 | <indexterm zone="sg3_utils scsi_start">
|
---|
| 230 | <primary sortas="b-scsi_start">scsi_start</primary>
|
---|
| 231 | </indexterm>
|
---|
| 232 | </listitem>
|
---|
| 233 | </varlistentry>
|
---|
| 234 |
|
---|
| 235 | <varlistentry id="scsi_stop">
|
---|
| 236 | <term><command>scsi_stop</command></term>
|
---|
| 237 | <listitem>
|
---|
| 238 | <para>
|
---|
[b69a5a5] | 239 | stops one or more SCSI disks.
|
---|
[af5248e2] | 240 | </para>
|
---|
| 241 | <indexterm zone="sg3_utils scsi_stop">
|
---|
| 242 | <primary sortas="b-scsi_stop">scsi_stop</primary>
|
---|
| 243 | </indexterm>
|
---|
| 244 | </listitem>
|
---|
| 245 | </varlistentry>
|
---|
| 246 |
|
---|
| 247 | <varlistentry id="scsi_temperature">
|
---|
| 248 | <term><command>scsi_temperature</command></term>
|
---|
| 249 | <listitem>
|
---|
| 250 | <para>
|
---|
[b69a5a5] | 251 | fetches the temperature of a SCSI device.
|
---|
[af5248e2] | 252 | </para>
|
---|
| 253 | <indexterm zone="sg3_utils scsi_temperature">
|
---|
| 254 | <primary sortas="b-scsi_temperature">scsi_temperature</primary>
|
---|
| 255 | </indexterm>
|
---|
| 256 | </listitem>
|
---|
| 257 | </varlistentry>
|
---|
| 258 |
|
---|
[5b38e37] | 259 | <varlistentry id="sg_compare_and_write">
|
---|
| 260 | <term><command>sg_compare_and_write</command></term>
|
---|
| 261 | <listitem>
|
---|
| 262 | <para>
|
---|
| 263 | sends the SCSI COMPARE AND WRITE command to device.
|
---|
| 264 | </para>
|
---|
| 265 | <indexterm zone="sg3_utils sg_compare_and_write">
|
---|
| 266 | <primary sortas="b-sg_compare_and_write">sg_compare_and_write</primary>
|
---|
| 267 | </indexterm>
|
---|
| 268 | </listitem>
|
---|
| 269 | </varlistentry>
|
---|
| 270 |
|
---|
| 271 | <varlistentry id="sg_copy_results">
|
---|
| 272 | <term><command>sg_copy_results</command></term>
|
---|
| 273 | <listitem>
|
---|
| 274 | <para>
|
---|
| 275 | sends the SCSI RECEIVE COPY RESULTS command (XCOPY related).
|
---|
| 276 | </para>
|
---|
| 277 | <indexterm zone="sg3_utils sg_copy_results">
|
---|
| 278 | <primary sortas="b-sg_copy_results">sg_copy_results</primary>
|
---|
| 279 | </indexterm>
|
---|
| 280 | </listitem>
|
---|
| 281 | </varlistentry>
|
---|
| 282 |
|
---|
[ab0972f] | 283 | <varlistentry id="sg_dd">
|
---|
| 284 | <term><command>sg_dd</command></term>
|
---|
| 285 | <listitem>
|
---|
[e355d777] | 286 | <para>
|
---|
| 287 | copies data to and from files and devices. Specialised for
|
---|
| 288 | devices that understand the SCSI command set.
|
---|
| 289 | </para>
|
---|
[ab0972f] | 290 | <indexterm zone="sg3_utils sg_dd">
|
---|
| 291 | <primary sortas="b-sg_dd">sg_dd</primary>
|
---|
| 292 | </indexterm>
|
---|
| 293 | </listitem>
|
---|
| 294 | </varlistentry>
|
---|
| 295 |
|
---|
[e355d777] | 296 | <varlistentry id="sg_decode_sense">
|
---|
| 297 | <term><command>sg_decode_sense</command></term>
|
---|
| 298 | <listitem>
|
---|
| 299 | <para>
|
---|
| 300 | takes SCSI sense data in binary or as a sequence
|
---|
| 301 | of ASCII hexadecimal bytes and decodes it.
|
---|
| 302 | </para>
|
---|
| 303 | <indexterm zone="sg3_utils sg_decode_sense">
|
---|
| 304 | <primary sortas="b-sg_decode_sense">sg_decode_sense</primary>
|
---|
| 305 | </indexterm>
|
---|
| 306 | </listitem>
|
---|
| 307 | </varlistentry>
|
---|
| 308 |
|
---|
[ab0972f] | 309 | <varlistentry id="sg_emc_trespass">
|
---|
| 310 | <term><command>sg_emc_trespass</command></term>
|
---|
| 311 | <listitem>
|
---|
[e355d777] | 312 | <para>
|
---|
| 313 | changes ownership of a LUN from another Service-Processor to
|
---|
| 314 | this one.
|
---|
| 315 | </para>
|
---|
[ab0972f] | 316 | <indexterm zone="sg3_utils sg_emc_trespass">
|
---|
| 317 | <primary sortas="b-sg_emc_trespass">sg_emc_trespass</primary>
|
---|
| 318 | </indexterm>
|
---|
| 319 | </listitem>
|
---|
| 320 | </varlistentry>
|
---|
| 321 |
|
---|
| 322 | <varlistentry id="sg_format">
|
---|
| 323 | <term><command>sg_format</command></term>
|
---|
| 324 | <listitem>
|
---|
[e355d777] | 325 | <para>
|
---|
[b69a5a5] | 326 | formats or resizes a SCSI disk (perhaps changes its block size).
|
---|
[e355d777] | 327 | </para>
|
---|
[ab0972f] | 328 | <indexterm zone="sg3_utils sg_format">
|
---|
| 329 | <primary sortas="b-sg_format">sg_format</primary>
|
---|
| 330 | </indexterm>
|
---|
| 331 | </listitem>
|
---|
| 332 | </varlistentry>
|
---|
| 333 |
|
---|
| 334 | <varlistentry id="sg_get_config">
|
---|
| 335 | <term><command>sg_get_config</command></term>
|
---|
| 336 | <listitem>
|
---|
[e355d777] | 337 | <para>
|
---|
| 338 | sends a SCSI GET CONFIGURATION command (MMC-4 +).
|
---|
| 339 | </para>
|
---|
[ab0972f] | 340 | <indexterm zone="sg3_utils sg_get_config">
|
---|
| 341 | <primary sortas="b-sg_get_config">sg_get_config</primary>
|
---|
| 342 | </indexterm>
|
---|
| 343 | </listitem>
|
---|
| 344 | </varlistentry>
|
---|
| 345 |
|
---|
| 346 | <varlistentry id="sg_get_lba_status">
|
---|
| 347 | <term><command>sg_get_lba_status</command></term>
|
---|
| 348 | <listitem>
|
---|
[e355d777] | 349 | <para>
|
---|
| 350 | sends the SCSI GET LBA STATUS command.
|
---|
| 351 | </para>
|
---|
[ab0972f] | 352 | <indexterm zone="sg3_utils sg_get_lba_status">
|
---|
| 353 | <primary sortas="b-sg_get_lba_status">sg_get_lba_status</primary>
|
---|
| 354 | </indexterm>
|
---|
| 355 | </listitem>
|
---|
| 356 | </varlistentry>
|
---|
| 357 |
|
---|
| 358 | <varlistentry id="sg_ident">
|
---|
| 359 | <term><command>sg_ident</command></term>
|
---|
| 360 | <listitem>
|
---|
[e355d777] | 361 | <para>
|
---|
| 362 | sends a SCSI REPORT or SET IDENTIFYING INFORMATION command.
|
---|
| 363 | </para>
|
---|
[ab0972f] | 364 | <indexterm zone="sg3_utils sg_ident">
|
---|
| 365 | <primary sortas="b-sg_ident">sg_ident</primary>
|
---|
| 366 | </indexterm>
|
---|
| 367 | </listitem>
|
---|
| 368 | </varlistentry>
|
---|
| 369 |
|
---|
| 370 | <varlistentry id="sginfo">
|
---|
| 371 | <term><command>sginfo</command></term>
|
---|
| 372 | <listitem>
|
---|
[e355d777] | 373 | <para>
|
---|
| 374 | access mode page information for a SCSI (or ATAPI) device.
|
---|
| 375 | </para>
|
---|
[ab0972f] | 376 | <indexterm zone="sg3_utils sginfo">
|
---|
| 377 | <primary sortas="b-sginfo">sginfo</primary>
|
---|
| 378 | </indexterm>
|
---|
| 379 | </listitem>
|
---|
| 380 | </varlistentry>
|
---|
| 381 |
|
---|
| 382 | <varlistentry id="sg_inq">
|
---|
| 383 | <term><command>sg_inq</command></term>
|
---|
| 384 | <listitem>
|
---|
[e355d777] | 385 | <para>
|
---|
| 386 | sends a SCSI INQUIRY or ATA IDENTIFY (PACKET) DEVICE command and
|
---|
| 387 | outputs the response.
|
---|
| 388 | </para>
|
---|
[ab0972f] | 389 | <indexterm zone="sg3_utils sg_inq">
|
---|
| 390 | <primary sortas="b-sg_inq">sg_inq</primary>
|
---|
| 391 | </indexterm>
|
---|
| 392 | </listitem>
|
---|
| 393 | </varlistentry>
|
---|
| 394 |
|
---|
| 395 | <varlistentry id="sg_logs">
|
---|
| 396 | <term><command>sg_logs</command></term>
|
---|
| 397 | <listitem>
|
---|
[e355d777] | 398 | <para>
|
---|
| 399 | access log pages with SCSI LOG SENSE command.
|
---|
| 400 | </para>
|
---|
[ab0972f] | 401 | <indexterm zone="sg3_utils sg_logs">
|
---|
| 402 | <primary sortas="b-sg_logs">sg_logs</primary>
|
---|
| 403 | </indexterm>
|
---|
| 404 | </listitem>
|
---|
| 405 | </varlistentry>
|
---|
| 406 |
|
---|
| 407 | <varlistentry id="sg_luns">
|
---|
| 408 | <term><command>sg_luns</command></term>
|
---|
| 409 | <listitem>
|
---|
[e355d777] | 410 | <para>
|
---|
| 411 | sends the SCSI REPORT LUNS command.
|
---|
| 412 | </para>
|
---|
[ab0972f] | 413 | <indexterm zone="sg3_utils sg_luns">
|
---|
| 414 | <primary sortas="b-sg_luns">sg_luns</primary>
|
---|
| 415 | </indexterm>
|
---|
| 416 | </listitem>
|
---|
| 417 | </varlistentry>
|
---|
| 418 |
|
---|
| 419 | <varlistentry id="sg_map">
|
---|
| 420 | <term><command>sg_map</command></term>
|
---|
| 421 | <listitem>
|
---|
[e355d777] | 422 | <para>
|
---|
| 423 | displays mapping between linux sg and other SCSI devices.
|
---|
| 424 | </para>
|
---|
[ab0972f] | 425 | <indexterm zone="sg3_utils sg_map">
|
---|
| 426 | <primary sortas="b-sg_map">sg_map</primary>
|
---|
| 427 | </indexterm>
|
---|
| 428 | </listitem>
|
---|
| 429 | </varlistentry>
|
---|
| 430 |
|
---|
| 431 | <varlistentry id="sg_map26">
|
---|
| 432 | <term><command>sg_map26</command></term>
|
---|
| 433 | <listitem>
|
---|
[e355d777] | 434 | <para>
|
---|
| 435 | maps a special file to a SCSI generic (sg) device (or vice versa).
|
---|
| 436 | </para>
|
---|
[ab0972f] | 437 | <indexterm zone="sg3_utils sg_map26">
|
---|
| 438 | <primary sortas="b-sg_map26">sg_map26</primary>
|
---|
| 439 | </indexterm>
|
---|
| 440 | </listitem>
|
---|
| 441 | </varlistentry>
|
---|
| 442 |
|
---|
| 443 | <varlistentry id="sgm_dd">
|
---|
| 444 | <term><command>sgm_dd</command></term>
|
---|
| 445 | <listitem>
|
---|
[e355d777] | 446 | <para>
|
---|
| 447 | copies data to and from files and devices. Specialized for
|
---|
| 448 | devices that understand the SCSI command set and does memory mapped
|
---|
| 449 | transfers from sg devices.
|
---|
| 450 | </para>
|
---|
[ab0972f] | 451 | <indexterm zone="sg3_utils sgm_dd">
|
---|
| 452 | <primary sortas="b-sgm_dd">sgm_dd</primary>
|
---|
| 453 | </indexterm>
|
---|
| 454 | </listitem>
|
---|
| 455 | </varlistentry>
|
---|
| 456 |
|
---|
| 457 | <varlistentry id="sg_modes">
|
---|
| 458 | <term><command>sg_modes</command></term>
|
---|
| 459 | <listitem>
|
---|
[e355d777] | 460 | <para>
|
---|
| 461 | reads mode pages with SCSI MODE SENSE command.
|
---|
| 462 | </para>
|
---|
[ab0972f] | 463 | <indexterm zone="sg3_utils sg_modes">
|
---|
| 464 | <primary sortas="b-sg_modes">sg_modes</primary>
|
---|
| 465 | </indexterm>
|
---|
| 466 | </listitem>
|
---|
| 467 | </varlistentry>
|
---|
| 468 |
|
---|
| 469 | <varlistentry id="sg_opcodes">
|
---|
| 470 | <term><command>sg_opcodes</command></term>
|
---|
| 471 | <listitem>
|
---|
[e355d777] | 472 | <para>
|
---|
| 473 | reports information on supported SCSI commands or task
|
---|
| 474 | management functions.
|
---|
| 475 | </para>
|
---|
[ab0972f] | 476 | <indexterm zone="sg3_utils sg_opcodes">
|
---|
| 477 | <primary sortas="b-sg_opcodes">sg_opcodes</primary>
|
---|
| 478 | </indexterm>
|
---|
| 479 | </listitem>
|
---|
| 480 | </varlistentry>
|
---|
| 481 |
|
---|
| 482 | <varlistentry id="sgp_dd">
|
---|
| 483 | <term><command>sgp_dd</command></term>
|
---|
| 484 | <listitem>
|
---|
[e355d777] | 485 | <para>
|
---|
| 486 | copies data to and from files and devices. Specialized for
|
---|
| 487 | devices that understand the SCSI command set.
|
---|
| 488 | </para>
|
---|
[ab0972f] | 489 | <indexterm zone="sg3_utils sgp_dd">
|
---|
| 490 | <primary sortas="b-sgp_dd">sgp_dd</primary>
|
---|
| 491 | </indexterm>
|
---|
| 492 | </listitem>
|
---|
| 493 | </varlistentry>
|
---|
| 494 |
|
---|
| 495 | <varlistentry id="sg_persist">
|
---|
| 496 | <term><command>sg_persist</command></term>
|
---|
| 497 | <listitem>
|
---|
[e355d777] | 498 | <para>
|
---|
| 499 | sends a SCSI PERSISTENT RESERVE (IN or OUT) command to
|
---|
| 500 | manipulate registrations and reservations.
|
---|
| 501 | </para>
|
---|
[ab0972f] | 502 | <indexterm zone="sg3_utils sg_persist">
|
---|
| 503 | <primary sortas="b-sg_persist">sg_persist</primary>
|
---|
| 504 | </indexterm>
|
---|
| 505 | </listitem>
|
---|
| 506 | </varlistentry>
|
---|
| 507 |
|
---|
| 508 | <varlistentry id="sg_prevent">
|
---|
| 509 | <term><command>sg_prevent</command></term>
|
---|
| 510 | <listitem>
|
---|
[e355d777] | 511 | <para>
|
---|
| 512 | sends a SCSI PREVENT ALLOW MEDIUM REMOVAL command.
|
---|
| 513 | </para>
|
---|
[ab0972f] | 514 | <indexterm zone="sg3_utils sg_prevent">
|
---|
| 515 | <primary sortas="b-sg_prevent">sg_prevent</primary>
|
---|
| 516 | </indexterm>
|
---|
| 517 | </listitem>
|
---|
| 518 | </varlistentry>
|
---|
| 519 |
|
---|
| 520 | <varlistentry id="sg_raw">
|
---|
| 521 | <term><command>sg_raw</command></term>
|
---|
| 522 | <listitem>
|
---|
[e355d777] | 523 | <para>
|
---|
| 524 | sends an arbitrary SCSI command to a device.
|
---|
| 525 | </para>
|
---|
[ab0972f] | 526 | <indexterm zone="sg3_utils sg_raw">
|
---|
| 527 | <primary sortas="b-sg_raw">sg_raw</primary>
|
---|
| 528 | </indexterm>
|
---|
| 529 | </listitem>
|
---|
| 530 | </varlistentry>
|
---|
| 531 |
|
---|
| 532 | <varlistentry id="sg_rbuf">
|
---|
| 533 | <term><command>sg_rbuf</command></term>
|
---|
| 534 | <listitem>
|
---|
[e355d777] | 535 | <para>
|
---|
| 536 | reads data using SCSI READ BUFFER command.
|
---|
| 537 | </para>
|
---|
[ab0972f] | 538 | <indexterm zone="sg3_utils sg_rbuf">
|
---|
| 539 | <primary sortas="b-sg_rbuf">sg_rbuf</primary>
|
---|
| 540 | </indexterm>
|
---|
| 541 | </listitem>
|
---|
| 542 | </varlistentry>
|
---|
| 543 |
|
---|
| 544 | <varlistentry id="sg_rdac">
|
---|
| 545 | <term><command>sg_rdac</command></term>
|
---|
| 546 | <listitem>
|
---|
[e355d777] | 547 | <para>
|
---|
[b69a5a5] | 548 | displays or modifies RDAC Redundant Controller Page.
|
---|
[e355d777] | 549 | </para>
|
---|
[ab0972f] | 550 | <indexterm zone="sg3_utils sg_rdac">
|
---|
| 551 | <primary sortas="b-sg_rdac">sg_rdac</primary>
|
---|
| 552 | </indexterm>
|
---|
| 553 | </listitem>
|
---|
| 554 | </varlistentry>
|
---|
| 555 |
|
---|
| 556 | <varlistentry id="sg_read">
|
---|
| 557 | <term><command>sg_read</command></term>
|
---|
| 558 | <listitem>
|
---|
[e355d777] | 559 | <para>
|
---|
[b69a5a5] | 560 | reads blocks of data continually from the same offset.
|
---|
[e355d777] | 561 | </para>
|
---|
[ab0972f] | 562 | <indexterm zone="sg3_utils sg_read">
|
---|
| 563 | <primary sortas="b-sg_read">sg_read</primary>
|
---|
| 564 | </indexterm>
|
---|
| 565 | </listitem>
|
---|
| 566 | </varlistentry>
|
---|
| 567 |
|
---|
| 568 | <varlistentry id="sg_read_block_limits">
|
---|
| 569 | <term><command>sg_read_block_limits</command></term>
|
---|
| 570 | <listitem>
|
---|
[e355d777] | 571 | <para>
|
---|
| 572 | sends a SCSI READ BLOCK LIMITS command.
|
---|
| 573 | </para>
|
---|
[ab0972f] | 574 | <indexterm zone="sg3_utils sg_read_block_limits">
|
---|
| 575 | <primary sortas="b-sg_read_block_limits">sg_read_block_limits</primary>
|
---|
| 576 | </indexterm>
|
---|
| 577 | </listitem>
|
---|
| 578 | </varlistentry>
|
---|
| 579 |
|
---|
| 580 | <varlistentry id="sg_read_buffer">
|
---|
| 581 | <term><command>sg_read_buffer</command></term>
|
---|
| 582 | <listitem>
|
---|
[e355d777] | 583 | <para>
|
---|
| 584 | sends a SCSI READ BUFFER command.
|
---|
| 585 | </para>
|
---|
[ab0972f] | 586 | <indexterm zone="sg3_utils sg_read_buffer">
|
---|
| 587 | <primary sortas="b-sg_read_buffer">sg_read_buffer</primary>
|
---|
| 588 | </indexterm>
|
---|
| 589 | </listitem>
|
---|
| 590 | </varlistentry>
|
---|
| 591 |
|
---|
| 592 | <varlistentry id="sg_readcap">
|
---|
| 593 | <term><command>sg_readcap</command></term>
|
---|
| 594 | <listitem>
|
---|
[e355d777] | 595 | <para>
|
---|
| 596 | sends a SCSI READ CAPACITY command.
|
---|
| 597 | </para>
|
---|
[ab0972f] | 598 | <indexterm zone="sg3_utils sg_readcap">
|
---|
| 599 | <primary sortas="b-sg_readcap">sg_readcap</primary>
|
---|
| 600 | </indexterm>
|
---|
| 601 | </listitem>
|
---|
| 602 | </varlistentry>
|
---|
| 603 |
|
---|
| 604 | <varlistentry id="sg_read_long">
|
---|
| 605 | <term><command>sg_read_long</command></term>
|
---|
| 606 | <listitem>
|
---|
[e355d777] | 607 | <para>
|
---|
| 608 | sends a SCSI READ LONG command.
|
---|
| 609 | </para>
|
---|
[ab0972f] | 610 | <indexterm zone="sg3_utils sg_read_long">
|
---|
| 611 | <primary sortas="b-sg_read_long">sg_read_long</primary>
|
---|
| 612 | </indexterm>
|
---|
| 613 | </listitem>
|
---|
| 614 | </varlistentry>
|
---|
| 615 |
|
---|
| 616 | <varlistentry id="sg_reassign">
|
---|
| 617 | <term><command>sg_reassign</command></term>
|
---|
| 618 | <listitem>
|
---|
[e355d777] | 619 | <para>
|
---|
| 620 | sends a SCSI REASSIGN BLOCKS command.
|
---|
| 621 | </para>
|
---|
[ab0972f] | 622 | <indexterm zone="sg3_utils sg_reassign">
|
---|
| 623 | <primary sortas="b-sg_reassign">sg_reassign</primary>
|
---|
| 624 | </indexterm>
|
---|
| 625 | </listitem>
|
---|
| 626 | </varlistentry>
|
---|
| 627 |
|
---|
[e355d777] | 628 | <varlistentry id="sg_referrals">
|
---|
| 629 | <term><command>sg_referrals</command></term>
|
---|
| 630 | <listitem>
|
---|
| 631 | <para>
|
---|
| 632 | sends the SCSI REPORT REFERRALS command.
|
---|
| 633 | </para>
|
---|
| 634 | <indexterm zone="sg3_utils sg_referrals">
|
---|
| 635 | <primary sortas="b-sg_referrals">sg_referrals</primary>
|
---|
| 636 | </indexterm>
|
---|
| 637 | </listitem>
|
---|
| 638 | </varlistentry>
|
---|
| 639 |
|
---|
[c93612f2] | 640 | <varlistentry id="sg_rep_zones">
|
---|
| 641 | <term><command>sg_rep_zones</command></term>
|
---|
| 642 | <listitem>
|
---|
| 643 | <para>
|
---|
[b69a5a5] | 644 | sends a SCSI REPORT ZONES command.
|
---|
[c93612f2] | 645 | </para>
|
---|
| 646 | <indexterm zone="sg3_utils sg_rep_zones">
|
---|
| 647 | <primary sortas="b-sg_rep_zones">sg_rep_zones</primary>
|
---|
| 648 | </indexterm>
|
---|
| 649 | </listitem>
|
---|
| 650 | </varlistentry>
|
---|
| 651 |
|
---|
[ab0972f] | 652 | <varlistentry id="sg_requests">
|
---|
| 653 | <term><command>sg_requests</command></term>
|
---|
| 654 | <listitem>
|
---|
[e355d777] | 655 | <para>
|
---|
| 656 | sends one or more SCSI REQUEST SENSE commands.
|
---|
| 657 | </para>
|
---|
[ab0972f] | 658 | <indexterm zone="sg3_utils sg_requests">
|
---|
| 659 | <primary sortas="b-sg_requests">sg_requests</primary>
|
---|
| 660 | </indexterm>
|
---|
| 661 | </listitem>
|
---|
| 662 | </varlistentry>
|
---|
| 663 |
|
---|
| 664 | <varlistentry id="sg_reset">
|
---|
| 665 | <term><command>sg_reset</command></term>
|
---|
| 666 | <listitem>
|
---|
[e355d777] | 667 | <para>
|
---|
| 668 | sends SCSI device, target, bus or host reset; or checks reset state.
|
---|
| 669 | </para>
|
---|
[ab0972f] | 670 | <indexterm zone="sg3_utils sg_reset">
|
---|
| 671 | <primary sortas="b-sg_reset">sg_reset</primary>
|
---|
| 672 | </indexterm>
|
---|
| 673 | </listitem>
|
---|
| 674 | </varlistentry>
|
---|
| 675 |
|
---|
[c93612f2] | 676 | <varlistentry id="sg_reset_wp">
|
---|
| 677 | <term><command>sg_reset_wp</command></term>
|
---|
| 678 | <listitem>
|
---|
| 679 | <para>
|
---|
[b69a5a5] | 680 | sends a SCSI RESET WRITE POINTER command.
|
---|
[c93612f2] | 681 | </para>
|
---|
| 682 | <indexterm zone="sg3_utils sg_reset_wp">
|
---|
| 683 | <primary sortas="b-sg_reset_wp">sg_reset_wp</primary>
|
---|
| 684 | </indexterm>
|
---|
| 685 | </listitem>
|
---|
| 686 | </varlistentry>
|
---|
| 687 |
|
---|
[ab0972f] | 688 | <varlistentry id="sg_rmsn">
|
---|
| 689 | <term><command>sg_rmsn</command></term>
|
---|
| 690 | <listitem>
|
---|
[e355d777] | 691 | <para>
|
---|
| 692 | sends a SCSI READ MEDIA SERIAL NUMBER command.
|
---|
| 693 | </para>
|
---|
[ab0972f] | 694 | <indexterm zone="sg3_utils sg_rmsn">
|
---|
| 695 | <primary sortas="b-sg_rmsn">sg_rmsn</primary>
|
---|
| 696 | </indexterm>
|
---|
| 697 | </listitem>
|
---|
| 698 | </varlistentry>
|
---|
| 699 |
|
---|
| 700 | <varlistentry id="sg_rtpg">
|
---|
| 701 | <term><command>sg_rtpg</command></term>
|
---|
| 702 | <listitem>
|
---|
[e355d777] | 703 | <para>
|
---|
| 704 | sends a SCSI REPORT TARGET PORT GROUPS command.
|
---|
| 705 | </para>
|
---|
[ab0972f] | 706 | <indexterm zone="sg3_utils sg_rtpg">
|
---|
| 707 | <primary sortas="b-sg_rtpg">sg_rtpg</primary>
|
---|
| 708 | </indexterm>
|
---|
| 709 | </listitem>
|
---|
| 710 | </varlistentry>
|
---|
| 711 |
|
---|
| 712 | <varlistentry id="sg_safte">
|
---|
| 713 | <term><command>sg_safte</command></term>
|
---|
| 714 | <listitem>
|
---|
[e355d777] | 715 | <para>
|
---|
[b69a5a5] | 716 | fetches status from a SCSI Accessed Fault-Tolerant Enclosure
|
---|
[e355d777] | 717 | (SAF-TE) device.
|
---|
| 718 | </para>
|
---|
[ab0972f] | 719 | <indexterm zone="sg3_utils sg_safte">
|
---|
| 720 | <primary sortas="b-sg_safte">sg_safte</primary>
|
---|
| 721 | </indexterm>
|
---|
| 722 | </listitem>
|
---|
| 723 | </varlistentry>
|
---|
| 724 |
|
---|
[e355d777] | 725 | <varlistentry id="sg_sanitize">
|
---|
| 726 | <term><command>sg_sanitize</command></term>
|
---|
| 727 | <listitem>
|
---|
| 728 | <para>
|
---|
| 729 | sends a SCSI SANITIZE command.
|
---|
| 730 | </para>
|
---|
| 731 | <indexterm zone="sg3_utils sg_sanitize">
|
---|
| 732 | <primary sortas="b-sg_sanitize">sg_sanitize</primary>
|
---|
| 733 | </indexterm>
|
---|
| 734 | </listitem>
|
---|
| 735 | </varlistentry>
|
---|
| 736 |
|
---|
[ab0972f] | 737 | <varlistentry id="sg_sat_identify">
|
---|
| 738 | <term><command>sg_sat_identify</command></term>
|
---|
| 739 | <listitem>
|
---|
[e355d777] | 740 | <para>
|
---|
[b69a5a5] | 741 | sends an ATA IDENTIFY (PACKET) DEVICE command via a SCSI to ATA
|
---|
[e355d777] | 742 | Translation (SAT) layer.
|
---|
| 743 | </para>
|
---|
[ab0972f] | 744 | <indexterm zone="sg3_utils sg_sat_identify">
|
---|
| 745 | <primary sortas="b-sg_sat_identify">sg_sat_identify</primary>
|
---|
| 746 | </indexterm>
|
---|
| 747 | </listitem>
|
---|
| 748 | </varlistentry>
|
---|
| 749 |
|
---|
| 750 | <varlistentry id="sg_sat_phy_event">
|
---|
| 751 | <term><command>sg_sat_phy_event</command></term>
|
---|
| 752 | <listitem>
|
---|
[e355d777] | 753 | <para>
|
---|
| 754 | sends an ATA READ LOG EXT command via a SAT pass through to
|
---|
| 755 | fetch log page 11h which contains SATA phy event counters.
|
---|
| 756 | </para>
|
---|
[ab0972f] | 757 | <indexterm zone="sg3_utils sg_sat_phy_event">
|
---|
| 758 | <primary sortas="b-sg_sat_phy_event">sg_sat_phy_event</primary>
|
---|
| 759 | </indexterm>
|
---|
| 760 | </listitem>
|
---|
| 761 | </varlistentry>
|
---|
| 762 |
|
---|
[c93612f2] | 763 |
|
---|
| 764 | <varlistentry id="sg_sat_read_gplog">
|
---|
| 765 | <term><command>sg_sat_read_gplog</command></term>
|
---|
| 766 | <listitem>
|
---|
| 767 | <para>
|
---|
[b69a5a5] | 768 | uses an ATA READ LOG EXT command via a SCSI to ATA Translation
|
---|
[c93612f2] | 769 | (SAT) layer.
|
---|
| 770 | </para>
|
---|
| 771 | <indexterm zone="sg3_utils sg_sat_read_gplog">
|
---|
| 772 | <primary sortas="b-sg_sat_read_gplog">sg_sat_read_gplog</primary>
|
---|
| 773 | </indexterm>
|
---|
| 774 | </listitem>
|
---|
| 775 | </varlistentry>
|
---|
[ab0972f] | 776 | <varlistentry id="sg_sat_set_features">
|
---|
| 777 | <term><command>sg_sat_set_features</command></term>
|
---|
| 778 | <listitem>
|
---|
[e355d777] | 779 | <para>
|
---|
[b69a5a5] | 780 | sends an ATA SET FEATURES command via a SCSI to ATA Translation
|
---|
[e355d777] | 781 | (SAT) layer.
|
---|
| 782 | </para>
|
---|
[ab0972f] | 783 | <indexterm zone="sg3_utils sg_sat_set_features">
|
---|
| 784 | <primary sortas="b-sg_sat_set_features">sg_sat_set_features</primary>
|
---|
| 785 | </indexterm>
|
---|
| 786 | </listitem>
|
---|
| 787 | </varlistentry>
|
---|
| 788 |
|
---|
| 789 | <varlistentry id="sg_scan">
|
---|
| 790 | <term><command>sg_scan</command></term>
|
---|
| 791 | <listitem>
|
---|
[e355d777] | 792 | <para>
|
---|
| 793 | does a scan of sg devices (or given SCSI/ATAPI/ATA devices) and
|
---|
| 794 | prints the results.
|
---|
| 795 | </para>
|
---|
[ab0972f] | 796 | <indexterm zone="sg3_utils sg_scan">
|
---|
| 797 | <primary sortas="b-sg_scan">sg_scan</primary>
|
---|
| 798 | </indexterm>
|
---|
| 799 | </listitem>
|
---|
| 800 | </varlistentry>
|
---|
| 801 |
|
---|
| 802 | <varlistentry id="sg_senddiag">
|
---|
| 803 | <term><command>sg_senddiag</command></term>
|
---|
| 804 | <listitem>
|
---|
[e355d777] | 805 | <para>
|
---|
| 806 | performs a SCSI SEND DIAGNOSTIC command.
|
---|
| 807 | </para>
|
---|
[ab0972f] | 808 | <indexterm zone="sg3_utils sg_senddiag">
|
---|
| 809 | <primary sortas="b-sg_senddiag">sg_senddiag</primary>
|
---|
| 810 | </indexterm>
|
---|
| 811 | </listitem>
|
---|
| 812 | </varlistentry>
|
---|
| 813 |
|
---|
| 814 | <varlistentry id="sg_ses">
|
---|
| 815 | <term><command>sg_ses</command></term>
|
---|
| 816 | <listitem>
|
---|
[e355d777] | 817 | <para>
|
---|
| 818 | sends controls and fetch status from a SCSI Enclosure Services
|
---|
| 819 | (SES) device.
|
---|
| 820 | </para>
|
---|
[ab0972f] | 821 | <indexterm zone="sg3_utils sg_ses">
|
---|
| 822 | <primary sortas="b-sg_ses">sg_ses</primary>
|
---|
| 823 | </indexterm>
|
---|
| 824 | </listitem>
|
---|
| 825 | </varlistentry>
|
---|
| 826 |
|
---|
[c93612f2] | 827 | <varlistentry id="sg_ses_microcode">
|
---|
| 828 | <term><command>sg_ses_microcode</command></term>
|
---|
| 829 | <listitem>
|
---|
| 830 | <para>
|
---|
| 831 | sends microcode to a SCSI enclosure.
|
---|
| 832 | </para>
|
---|
| 833 | <indexterm zone="sg3_utils sg_ses_microcode">
|
---|
| 834 | <primary sortas="b-sg_ses_microcode">sg_ses_microcode</primary>
|
---|
| 835 | </indexterm>
|
---|
| 836 | </listitem>
|
---|
| 837 | </varlistentry>
|
---|
| 838 |
|
---|
[ab0972f] | 839 | <varlistentry id="sg_start">
|
---|
| 840 | <term><command>sg_start</command></term>
|
---|
| 841 | <listitem>
|
---|
[e355d777] | 842 | <para>
|
---|
[b69a5a5] | 843 | sends a SCSI START STOP UNIT command to start, stop, load or eject
|
---|
[e355d777] | 844 | medium.
|
---|
| 845 | </para>
|
---|
[ab0972f] | 846 | <indexterm zone="sg3_utils sg_start">
|
---|
| 847 | <primary sortas="b-sg_start">sg_start</primary>
|
---|
| 848 | </indexterm>
|
---|
| 849 | </listitem>
|
---|
| 850 | </varlistentry>
|
---|
| 851 |
|
---|
| 852 | <varlistentry id="sg_stpg">
|
---|
| 853 | <term><command>sg_stpg</command></term>
|
---|
| 854 | <listitem>
|
---|
[e355d777] | 855 | <para>
|
---|
| 856 | sends a SCSI SET TARGET PORT GROUPS command.
|
---|
| 857 | </para>
|
---|
[ab0972f] | 858 | <indexterm zone="sg3_utils sg_stpg">
|
---|
| 859 | <primary sortas="b-sg_stpg">sg_stpg</primary>
|
---|
| 860 | </indexterm>
|
---|
| 861 | </listitem>
|
---|
| 862 | </varlistentry>
|
---|
| 863 |
|
---|
| 864 | <varlistentry id="sg_sync">
|
---|
| 865 | <term><command>sg_sync</command></term>
|
---|
| 866 | <listitem>
|
---|
[e355d777] | 867 | <para>
|
---|
| 868 | sends the scsi command synchronize cache.
|
---|
| 869 | </para>
|
---|
[ab0972f] | 870 | <indexterm zone="sg3_utils sg_sync">
|
---|
| 871 | <primary sortas="b-sg_sync">sg_sync</primary>
|
---|
| 872 | </indexterm>
|
---|
| 873 | </listitem>
|
---|
| 874 | </varlistentry>
|
---|
| 875 |
|
---|
| 876 | <varlistentry id="sg_test_rwbuf">
|
---|
| 877 | <term><command>sg_test_rwbuf</command></term>
|
---|
| 878 | <listitem>
|
---|
[e355d777] | 879 | <para>
|
---|
| 880 | tests the SCSI host adapter by issuing write and read operations
|
---|
| 881 | on a device's buffer and calculating checksums.
|
---|
| 882 | </para>
|
---|
[ab0972f] | 883 | <indexterm zone="sg3_utils sg_test_rwbuf">
|
---|
| 884 | <primary sortas="b-sg_test_rwbuf">sg_test_rwbuf</primary>
|
---|
| 885 | </indexterm>
|
---|
| 886 | </listitem>
|
---|
| 887 | </varlistentry>
|
---|
| 888 |
|
---|
| 889 | <varlistentry id="sg_turs">
|
---|
| 890 | <term><command>sg_turs</command></term>
|
---|
| 891 | <listitem>
|
---|
[e355d777] | 892 | <para>
|
---|
| 893 | sends one or more SCSI TEST UNIT READY commands.
|
---|
| 894 | </para>
|
---|
[ab0972f] | 895 | <indexterm zone="sg3_utils sg_turs">
|
---|
| 896 | <primary sortas="b-sg_turs">sg_turs</primary>
|
---|
| 897 | </indexterm>
|
---|
| 898 | </listitem>
|
---|
| 899 | </varlistentry>
|
---|
| 900 |
|
---|
| 901 | <varlistentry id="sg_unmap">
|
---|
| 902 | <term><command>sg_unmap</command></term>
|
---|
| 903 | <listitem>
|
---|
[e355d777] | 904 | <para>
|
---|
| 905 | sends a SCSI UNMAP command.
|
---|
| 906 | </para>
|
---|
[ab0972f] | 907 | <indexterm zone="sg3_utils sg_unmap">
|
---|
| 908 | <primary sortas="b-sg_unmap">sg_unmap</primary>
|
---|
| 909 | </indexterm>
|
---|
| 910 | </listitem>
|
---|
| 911 | </varlistentry>
|
---|
| 912 |
|
---|
| 913 | <varlistentry id="sg_verify">
|
---|
| 914 | <term><command>sg_verify</command></term>
|
---|
| 915 | <listitem>
|
---|
[e355d777] | 916 | <para>
|
---|
[b69a5a5] | 917 | invokes SCSI VERIFY command(s) on a block device.
|
---|
[e355d777] | 918 | </para>
|
---|
[ab0972f] | 919 | <indexterm zone="sg3_utils sg_verify">
|
---|
| 920 | <primary sortas="b-sg_verify">sg_verify</primary>
|
---|
| 921 | </indexterm>
|
---|
| 922 | </listitem>
|
---|
| 923 | </varlistentry>
|
---|
| 924 |
|
---|
| 925 | <varlistentry id="sg_vpd">
|
---|
| 926 | <term><command>sg_vpd</command></term>
|
---|
| 927 | <listitem>
|
---|
[e355d777] | 928 | <para>
|
---|
| 929 | fetches Vital Product Data (VPD) pages using a SCSI INQUIRY
|
---|
| 930 | command.
|
---|
| 931 | </para>
|
---|
[ab0972f] | 932 | <indexterm zone="sg3_utils sg_vpd">
|
---|
| 933 | <primary sortas="b-sg_vpd">sg_vpd</primary>
|
---|
| 934 | </indexterm>
|
---|
| 935 | </listitem>
|
---|
| 936 | </varlistentry>
|
---|
| 937 |
|
---|
| 938 | <varlistentry id="sg_write_buffer">
|
---|
| 939 | <term><command>sg_write_buffer</command></term>
|
---|
| 940 | <listitem>
|
---|
[e355d777] | 941 | <para>
|
---|
| 942 | sends a SCSI WRITE BUFFER command.
|
---|
| 943 | </para>
|
---|
[ab0972f] | 944 | <indexterm zone="sg3_utils sg_write_buffer">
|
---|
| 945 | <primary sortas="b-sg_write_buffer">sg_write_buffer</primary>
|
---|
| 946 | </indexterm>
|
---|
| 947 | </listitem>
|
---|
| 948 | </varlistentry>
|
---|
| 949 |
|
---|
| 950 | <varlistentry id="sg_write_long">
|
---|
| 951 | <term><command>sg_write_long</command></term>
|
---|
| 952 | <listitem>
|
---|
[e355d777] | 953 | <para>
|
---|
| 954 | sends the SCSI WRITE LONG command.
|
---|
| 955 | </para>
|
---|
[ab0972f] | 956 | <indexterm zone="sg3_utils sg_write_long">
|
---|
| 957 | <primary sortas="b-sg_write_long">sg_write_long</primary>
|
---|
| 958 | </indexterm>
|
---|
| 959 | </listitem>
|
---|
| 960 | </varlistentry>
|
---|
| 961 |
|
---|
| 962 | <varlistentry id="sg_write_same">
|
---|
| 963 | <term><command>sg_write_same</command></term>
|
---|
| 964 | <listitem>
|
---|
[e355d777] | 965 | <para>
|
---|
| 966 | sends the SCSI WRITE SAME command.
|
---|
| 967 | </para>
|
---|
[ab0972f] | 968 | <indexterm zone="sg3_utils sg_write_same">
|
---|
| 969 | <primary sortas="b-sg_write_same">sg_write_same</primary>
|
---|
| 970 | </indexterm>
|
---|
| 971 | </listitem>
|
---|
| 972 | </varlistentry>
|
---|
| 973 |
|
---|
[c93612f2] | 974 | <varlistentry id="sg_write_verify">
|
---|
| 975 | <term><command>sg_write_verify</command></term>
|
---|
| 976 | <listitem>
|
---|
| 977 | <para>
|
---|
| 978 | sends the SCSI WRITE AND VERIFY command.
|
---|
| 979 | </para>
|
---|
| 980 | <indexterm zone="sg3_utils sg_xcopy">
|
---|
| 981 | <primary sortas="b-sg_xcopy">sg_xcopy</primary>
|
---|
| 982 | </indexterm>
|
---|
| 983 | </listitem>
|
---|
| 984 | </varlistentry>
|
---|
| 985 |
|
---|
[ab0972f] | 986 | <varlistentry id="sg_wr_mode">
|
---|
| 987 | <term><command>sg_wr_mode</command></term>
|
---|
| 988 | <listitem>
|
---|
[e355d777] | 989 | <para>
|
---|
| 990 | writes mode page.
|
---|
| 991 | </para>
|
---|
[ab0972f] | 992 | <indexterm zone="sg3_utils sg_wr_mode">
|
---|
| 993 | <primary sortas="b-sg_wr_mode">sg_wr_mode</primary>
|
---|
| 994 | </indexterm>
|
---|
| 995 | </listitem>
|
---|
| 996 | </varlistentry>
|
---|
| 997 |
|
---|
[5b38e37] | 998 | <varlistentry id="sg_xcopy">
|
---|
| 999 | <term><command>sg_xcopy</command></term>
|
---|
| 1000 | <listitem>
|
---|
| 1001 | <para>
|
---|
| 1002 | copies data to and from files and devices
|
---|
| 1003 | using SCSI EXTENDED COPY (XCOPY).
|
---|
| 1004 | </para>
|
---|
| 1005 | <indexterm zone="sg3_utils sg_xcopy">
|
---|
| 1006 | <primary sortas="b-sg_xcopy">sg_xcopy</primary>
|
---|
| 1007 | </indexterm>
|
---|
| 1008 | </listitem>
|
---|
| 1009 | </varlistentry>
|
---|
| 1010 |
|
---|
[ab0972f] | 1011 | <varlistentry id="libsgutils2">
|
---|
[5b38e37] | 1012 | <term><filename class="libraryfile">libsgutils2.so</filename></term>
|
---|
[ab0972f] | 1013 | <listitem>
|
---|
[e355d777] | 1014 | <para>
|
---|
| 1015 | contains the <application>sg3_utils</application> API functions.
|
---|
| 1016 | </para>
|
---|
[ab0972f] | 1017 | <indexterm zone="sg3_utils libsgutils2">
|
---|
[e355d777] | 1018 | <primary sortas="c-libsgutils2">libsgutils2.so</primary>
|
---|
[ab0972f] | 1019 | </indexterm>
|
---|
| 1020 | </listitem>
|
---|
| 1021 | </varlistentry>
|
---|
| 1022 |
|
---|
| 1023 | </variablelist>
|
---|
| 1024 |
|
---|
| 1025 | </sect2>
|
---|
| 1026 |
|
---|
| 1027 | </sect1>
|
---|