source: general/sysutils/sg3_utils.xml@ 6cbd464

systemd-13485
Last change on this file since 6cbd464 was 4df7c20, checked in by Douglas R. Reno <renodr@…>, 8 years ago

(systemd) Update to ImageMagick-7.0.3. Merged from trunk r17351. NOT TESTED.
(systemd) LFS79 Tags
(both) Lots of GCC6 Tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@17388 af4574ff-66df-0310-9fd7-8a98e5e911e0

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