source: general/sysutils/sg3_utils.xml@ 911d9698

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 911d9698 was 911d9698, checked in by Fernando de Oliveira <fernando@…>, 11 years ago

Fix WebKitGTK+-1.10.2 to build with Bison 3.0; more lfs7.4 tags.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11692 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 26.7 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 "5d1846c8aa03a2e39e1368cf05bf1cfd">
10 <!ENTITY sg3_utils-size "648 KB">
11 <!ENTITY sg3_utils-buildsize "24 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 &lfs74_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 sg_compare_and_write, sg_copy_results, sg_dd, sg_decode_sense,
124 sg_emc_trespass, sg_format, sg_get_config, sg_get_lba_status,
125 sg_ident, sginfo, sg_inq, sg_logs, sg_luns, sg_map, sg_map26,
126 sgm_dd, sg_modes, sg_opcodes, sgp_dd, sg_persist, sg_prevent, sg_raw,
127 sg_rbuf, sg_rdac, sg_read, sg_read_block_limits, sg_read_buffer,
128 sg_readcap, sg_read_long, sg_reassign, sg_referrals, sg_requests,
129 sg_reset, sg_rmsn, sg_rtpg, sg_safte, sg_sanitize, sg_sat_identify,
130 sg_sat_phy_event, sg_sat_set_features, sg_scan, sg_senddiag,
131 sg_ses, sg_start, sg_stpg, sg_sync, sg_test_rwbuf, sg_turs, sg_unmap,
132 sg_verify, sg_vpd, sg_write_buffer, sg_write_long, sg_write_same,
133 sg_wr_mode, and sg_xcopy
134 </seg>
135 <seg>
136 libsgutils2.so
137 </seg>
138 <seg>
139 None
140 </seg>
141 </seglistitem>
142 </segmentedlist>
143
144 <variablelist>
145 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
146 <?dbfo list-presentation="list"?>
147 <?dbhtml list-presentation="table"?>
148
149 <varlistentry id="sg_compare_and_write">
150 <term><command>sg_compare_and_write</command></term>
151 <listitem>
152 <para>
153 sends the SCSI COMPARE AND WRITE command to device.
154 </para>
155 <indexterm zone="sg3_utils sg_compare_and_write">
156 <primary sortas="b-sg_compare_and_write">sg_compare_and_write</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="sg_copy_results">
162 <term><command>sg_copy_results</command></term>
163 <listitem>
164 <para>
165 sends the SCSI RECEIVE COPY RESULTS command (XCOPY related).
166 </para>
167 <indexterm zone="sg3_utils sg_copy_results">
168 <primary sortas="b-sg_copy_results">sg_copy_results</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry id="sg_dd">
174 <term><command>sg_dd</command></term>
175 <listitem>
176 <para>
177 copies data to and from files and devices. Specialised for
178 devices that understand the SCSI command set.
179 </para>
180 <indexterm zone="sg3_utils sg_dd">
181 <primary sortas="b-sg_dd">sg_dd</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="sg_decode_sense">
187 <term><command>sg_decode_sense</command></term>
188 <listitem>
189 <para>
190 takes SCSI sense data in binary or as a sequence
191 of ASCII hexadecimal bytes and decodes it.
192 </para>
193 <indexterm zone="sg3_utils sg_decode_sense">
194 <primary sortas="b-sg_decode_sense">sg_decode_sense</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="sg_emc_trespass">
200 <term><command>sg_emc_trespass</command></term>
201 <listitem>
202 <para>
203 changes ownership of a LUN from another Service-Processor to
204 this one.
205 </para>
206 <indexterm zone="sg3_utils sg_emc_trespass">
207 <primary sortas="b-sg_emc_trespass">sg_emc_trespass</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="sg_format">
213 <term><command>sg_format</command></term>
214 <listitem>
215 <para>
216 format or resize a SCSI disk (perhaps change its block size).
217 </para>
218 <indexterm zone="sg3_utils sg_format">
219 <primary sortas="b-sg_format">sg_format</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="sg_get_config">
225 <term><command>sg_get_config</command></term>
226 <listitem>
227 <para>
228 sends a SCSI GET CONFIGURATION command (MMC-4 +).
229 </para>
230 <indexterm zone="sg3_utils sg_get_config">
231 <primary sortas="b-sg_get_config">sg_get_config</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry id="sg_get_lba_status">
237 <term><command>sg_get_lba_status</command></term>
238 <listitem>
239 <para>
240 sends the SCSI GET LBA STATUS command.
241 </para>
242 <indexterm zone="sg3_utils sg_get_lba_status">
243 <primary sortas="b-sg_get_lba_status">sg_get_lba_status</primary>
244 </indexterm>
245 </listitem>
246 </varlistentry>
247
248 <varlistentry id="sg_ident">
249 <term><command>sg_ident</command></term>
250 <listitem>
251 <para>
252 sends a SCSI REPORT or SET IDENTIFYING INFORMATION command.
253 </para>
254 <indexterm zone="sg3_utils sg_ident">
255 <primary sortas="b-sg_ident">sg_ident</primary>
256 </indexterm>
257 </listitem>
258 </varlistentry>
259
260 <varlistentry id="sginfo">
261 <term><command>sginfo</command></term>
262 <listitem>
263 <para>
264 access mode page information for a SCSI (or ATAPI) device.
265 </para>
266 <indexterm zone="sg3_utils sginfo">
267 <primary sortas="b-sginfo">sginfo</primary>
268 </indexterm>
269 </listitem>
270 </varlistentry>
271
272 <varlistentry id="sg_inq">
273 <term><command>sg_inq</command></term>
274 <listitem>
275 <para>
276 sends a SCSI INQUIRY or ATA IDENTIFY (PACKET) DEVICE command and
277 outputs the response.
278 </para>
279 <indexterm zone="sg3_utils sg_inq">
280 <primary sortas="b-sg_inq">sg_inq</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
285 <varlistentry id="sg_logs">
286 <term><command>sg_logs</command></term>
287 <listitem>
288 <para>
289 access log pages with SCSI LOG SENSE command.
290 </para>
291 <indexterm zone="sg3_utils sg_logs">
292 <primary sortas="b-sg_logs">sg_logs</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry id="sg_luns">
298 <term><command>sg_luns</command></term>
299 <listitem>
300 <para>
301 sends the SCSI REPORT LUNS command.
302 </para>
303 <indexterm zone="sg3_utils sg_luns">
304 <primary sortas="b-sg_luns">sg_luns</primary>
305 </indexterm>
306 </listitem>
307 </varlistentry>
308
309 <varlistentry id="sg_map">
310 <term><command>sg_map</command></term>
311 <listitem>
312 <para>
313 displays mapping between linux sg and other SCSI devices.
314 </para>
315 <indexterm zone="sg3_utils sg_map">
316 <primary sortas="b-sg_map">sg_map</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
320
321 <varlistentry id="sg_map26">
322 <term><command>sg_map26</command></term>
323 <listitem>
324 <para>
325 maps a special file to a SCSI generic (sg) device (or vice versa).
326 </para>
327 <indexterm zone="sg3_utils sg_map26">
328 <primary sortas="b-sg_map26">sg_map26</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
332
333 <varlistentry id="sgm_dd">
334 <term><command>sgm_dd</command></term>
335 <listitem>
336 <para>
337 copies data to and from files and devices. Specialized for
338 devices that understand the SCSI command set and does memory mapped
339 transfers from sg devices.
340 </para>
341 <indexterm zone="sg3_utils sgm_dd">
342 <primary sortas="b-sgm_dd">sgm_dd</primary>
343 </indexterm>
344 </listitem>
345 </varlistentry>
346
347 <varlistentry id="sg_modes">
348 <term><command>sg_modes</command></term>
349 <listitem>
350 <para>
351 reads mode pages with SCSI MODE SENSE command.
352 </para>
353 <indexterm zone="sg3_utils sg_modes">
354 <primary sortas="b-sg_modes">sg_modes</primary>
355 </indexterm>
356 </listitem>
357 </varlistentry>
358
359 <varlistentry id="sg_opcodes">
360 <term><command>sg_opcodes</command></term>
361 <listitem>
362 <para>
363 reports information on supported SCSI commands or task
364 management functions.
365 </para>
366 <indexterm zone="sg3_utils sg_opcodes">
367 <primary sortas="b-sg_opcodes">sg_opcodes</primary>
368 </indexterm>
369 </listitem>
370 </varlistentry>
371
372 <varlistentry id="sgp_dd">
373 <term><command>sgp_dd</command></term>
374 <listitem>
375 <para>
376 copies data to and from files and devices. Specialized for
377 devices that understand the SCSI command set.
378 </para>
379 <indexterm zone="sg3_utils sgp_dd">
380 <primary sortas="b-sgp_dd">sgp_dd</primary>
381 </indexterm>
382 </listitem>
383 </varlistentry>
384
385 <varlistentry id="sg_persist">
386 <term><command>sg_persist</command></term>
387 <listitem>
388 <para>
389 sends a SCSI PERSISTENT RESERVE (IN or OUT) command to
390 manipulate registrations and reservations.
391 </para>
392 <indexterm zone="sg3_utils sg_persist">
393 <primary sortas="b-sg_persist">sg_persist</primary>
394 </indexterm>
395 </listitem>
396 </varlistentry>
397
398 <varlistentry id="sg_prevent">
399 <term><command>sg_prevent</command></term>
400 <listitem>
401 <para>
402 sends a SCSI PREVENT ALLOW MEDIUM REMOVAL command.
403 </para>
404 <indexterm zone="sg3_utils sg_prevent">
405 <primary sortas="b-sg_prevent">sg_prevent</primary>
406 </indexterm>
407 </listitem>
408 </varlistentry>
409
410 <varlistentry id="sg_raw">
411 <term><command>sg_raw</command></term>
412 <listitem>
413 <para>
414 sends an arbitrary SCSI command to a device.
415 </para>
416 <indexterm zone="sg3_utils sg_raw">
417 <primary sortas="b-sg_raw">sg_raw</primary>
418 </indexterm>
419 </listitem>
420 </varlistentry>
421
422 <varlistentry id="sg_rbuf">
423 <term><command>sg_rbuf</command></term>
424 <listitem>
425 <para>
426 reads data using SCSI READ BUFFER command.
427 </para>
428 <indexterm zone="sg3_utils sg_rbuf">
429 <primary sortas="b-sg_rbuf">sg_rbuf</primary>
430 </indexterm>
431 </listitem>
432 </varlistentry>
433
434 <varlistentry id="sg_rdac">
435 <term><command>sg_rdac</command></term>
436 <listitem>
437 <para>
438 Display or Modify RDAC Redundant Controller Page.
439 </para>
440 <indexterm zone="sg3_utils sg_rdac">
441 <primary sortas="b-sg_rdac">sg_rdac</primary>
442 </indexterm>
443 </listitem>
444 </varlistentry>
445
446 <varlistentry id="sg_read">
447 <term><command>sg_read</command></term>
448 <listitem>
449 <para>
450 read blocks of data continually from same offset.
451 </para>
452 <indexterm zone="sg3_utils sg_read">
453 <primary sortas="b-sg_read">sg_read</primary>
454 </indexterm>
455 </listitem>
456 </varlistentry>
457
458 <varlistentry id="sg_read_block_limits">
459 <term><command>sg_read_block_limits</command></term>
460 <listitem>
461 <para>
462 sends a SCSI READ BLOCK LIMITS command.
463 </para>
464 <indexterm zone="sg3_utils sg_read_block_limits">
465 <primary sortas="b-sg_read_block_limits">sg_read_block_limits</primary>
466 </indexterm>
467 </listitem>
468 </varlistentry>
469
470 <varlistentry id="sg_read_buffer">
471 <term><command>sg_read_buffer</command></term>
472 <listitem>
473 <para>
474 sends a SCSI READ BUFFER command.
475 </para>
476 <indexterm zone="sg3_utils sg_read_buffer">
477 <primary sortas="b-sg_read_buffer">sg_read_buffer</primary>
478 </indexterm>
479 </listitem>
480 </varlistentry>
481
482 <varlistentry id="sg_readcap">
483 <term><command>sg_readcap</command></term>
484 <listitem>
485 <para>
486 sends a SCSI READ CAPACITY command.
487 </para>
488 <indexterm zone="sg3_utils sg_readcap">
489 <primary sortas="b-sg_readcap">sg_readcap</primary>
490 </indexterm>
491 </listitem>
492 </varlistentry>
493
494 <varlistentry id="sg_read_long">
495 <term><command>sg_read_long</command></term>
496 <listitem>
497 <para>
498 sends a SCSI READ LONG command.
499 </para>
500 <indexterm zone="sg3_utils sg_read_long">
501 <primary sortas="b-sg_read_long">sg_read_long</primary>
502 </indexterm>
503 </listitem>
504 </varlistentry>
505
506 <varlistentry id="sg_reassign">
507 <term><command>sg_reassign</command></term>
508 <listitem>
509 <para>
510 sends a SCSI REASSIGN BLOCKS command.
511 </para>
512 <indexterm zone="sg3_utils sg_reassign">
513 <primary sortas="b-sg_reassign">sg_reassign</primary>
514 </indexterm>
515 </listitem>
516 </varlistentry>
517
518 <varlistentry id="sg_referrals">
519 <term><command>sg_referrals</command></term>
520 <listitem>
521 <para>
522 sends the SCSI REPORT REFERRALS command.
523 </para>
524 <indexterm zone="sg3_utils sg_referrals">
525 <primary sortas="b-sg_referrals">sg_referrals</primary>
526 </indexterm>
527 </listitem>
528 </varlistentry>
529
530 <varlistentry id="sg_requests">
531 <term><command>sg_requests</command></term>
532 <listitem>
533 <para>
534 sends one or more SCSI REQUEST SENSE commands.
535 </para>
536 <indexterm zone="sg3_utils sg_requests">
537 <primary sortas="b-sg_requests">sg_requests</primary>
538 </indexterm>
539 </listitem>
540 </varlistentry>
541
542 <varlistentry id="sg_reset">
543 <term><command>sg_reset</command></term>
544 <listitem>
545 <para>
546 sends SCSI device, target, bus or host reset; or checks reset state.
547 </para>
548 <indexterm zone="sg3_utils sg_reset">
549 <primary sortas="b-sg_reset">sg_reset</primary>
550 </indexterm>
551 </listitem>
552 </varlistentry>
553
554 <varlistentry id="sg_rmsn">
555 <term><command>sg_rmsn</command></term>
556 <listitem>
557 <para>
558 sends a SCSI READ MEDIA SERIAL NUMBER command.
559 </para>
560 <indexterm zone="sg3_utils sg_rmsn">
561 <primary sortas="b-sg_rmsn">sg_rmsn</primary>
562 </indexterm>
563 </listitem>
564 </varlistentry>
565
566 <varlistentry id="sg_rtpg">
567 <term><command>sg_rtpg</command></term>
568 <listitem>
569 <para>
570 sends a SCSI REPORT TARGET PORT GROUPS command.
571 </para>
572 <indexterm zone="sg3_utils sg_rtpg">
573 <primary sortas="b-sg_rtpg">sg_rtpg</primary>
574 </indexterm>
575 </listitem>
576 </varlistentry>
577
578 <varlistentry id="sg_safte">
579 <term><command>sg_safte</command></term>
580 <listitem>
581 <para>
582 fetch status from a SCSI Accessed Fault-Tolerant Enclosure
583 (SAF-TE) device.
584 </para>
585 <indexterm zone="sg3_utils sg_safte">
586 <primary sortas="b-sg_safte">sg_safte</primary>
587 </indexterm>
588 </listitem>
589 </varlistentry>
590
591 <varlistentry id="sg_sanitize">
592 <term><command>sg_sanitize</command></term>
593 <listitem>
594 <para>
595 sends a SCSI SANITIZE command.
596 </para>
597 <indexterm zone="sg3_utils sg_sanitize">
598 <primary sortas="b-sg_sanitize">sg_sanitize</primary>
599 </indexterm>
600 </listitem>
601 </varlistentry>
602
603 <varlistentry id="sg_sat_identify">
604 <term><command>sg_sat_identify</command></term>
605 <listitem>
606 <para>
607 sends a ATA IDENTIFY (PACKET) DEVICE command via a SCSI to ATA
608 Translation (SAT) layer.
609 </para>
610 <indexterm zone="sg3_utils sg_sat_identify">
611 <primary sortas="b-sg_sat_identify">sg_sat_identify</primary>
612 </indexterm>
613 </listitem>
614 </varlistentry>
615
616 <varlistentry id="sg_sat_phy_event">
617 <term><command>sg_sat_phy_event</command></term>
618 <listitem>
619 <para>
620 sends an ATA READ LOG EXT command via a SAT pass through to
621 fetch log page 11h which contains SATA phy event counters.
622 </para>
623 <indexterm zone="sg3_utils sg_sat_phy_event">
624 <primary sortas="b-sg_sat_phy_event">sg_sat_phy_event</primary>
625 </indexterm>
626 </listitem>
627 </varlistentry>
628
629 <varlistentry id="sg_sat_set_features">
630 <term><command>sg_sat_set_features</command></term>
631 <listitem>
632 <para>
633 sends a ATA SET FEATURES command via a SCSI to ATA Translation
634 (SAT) layer.
635 </para>
636 <indexterm zone="sg3_utils sg_sat_set_features">
637 <primary sortas="b-sg_sat_set_features">sg_sat_set_features</primary>
638 </indexterm>
639 </listitem>
640 </varlistentry>
641
642 <varlistentry id="sg_scan">
643 <term><command>sg_scan</command></term>
644 <listitem>
645 <para>
646 does a scan of sg devices (or given SCSI/ATAPI/ATA devices) and
647 prints the results.
648 </para>
649 <indexterm zone="sg3_utils sg_scan">
650 <primary sortas="b-sg_scan">sg_scan</primary>
651 </indexterm>
652 </listitem>
653 </varlistentry>
654
655 <varlistentry id="sg_senddiag">
656 <term><command>sg_senddiag</command></term>
657 <listitem>
658 <para>
659 performs a SCSI SEND DIAGNOSTIC command.
660 </para>
661 <indexterm zone="sg3_utils sg_senddiag">
662 <primary sortas="b-sg_senddiag">sg_senddiag</primary>
663 </indexterm>
664 </listitem>
665 </varlistentry>
666
667 <varlistentry id="sg_ses">
668 <term><command>sg_ses</command></term>
669 <listitem>
670 <para>
671 sends controls and fetch status from a SCSI Enclosure Services
672 (SES) device.
673 </para>
674 <indexterm zone="sg3_utils sg_ses">
675 <primary sortas="b-sg_ses">sg_ses</primary>
676 </indexterm>
677 </listitem>
678 </varlistentry>
679
680 <varlistentry id="sg_start">
681 <term><command>sg_start</command></term>
682 <listitem>
683 <para>
684 sends SCSI START STOP UNIT command to start, stop, load or eject
685 medium.
686 </para>
687 <indexterm zone="sg3_utils sg_start">
688 <primary sortas="b-sg_start">sg_start</primary>
689 </indexterm>
690 </listitem>
691 </varlistentry>
692
693 <varlistentry id="sg_stpg">
694 <term><command>sg_stpg</command></term>
695 <listitem>
696 <para>
697 sends a SCSI SET TARGET PORT GROUPS command.
698 </para>
699 <indexterm zone="sg3_utils sg_stpg">
700 <primary sortas="b-sg_stpg">sg_stpg</primary>
701 </indexterm>
702 </listitem>
703 </varlistentry>
704
705 <varlistentry id="sg_sync">
706 <term><command>sg_sync</command></term>
707 <listitem>
708 <para>
709 sends the scsi command synchronize cache.
710 </para>
711 <indexterm zone="sg3_utils sg_sync">
712 <primary sortas="b-sg_sync">sg_sync</primary>
713 </indexterm>
714 </listitem>
715 </varlistentry>
716
717 <varlistentry id="sg_test_rwbuf">
718 <term><command>sg_test_rwbuf</command></term>
719 <listitem>
720 <para>
721 tests the SCSI host adapter by issuing write and read operations
722 on a device's buffer and calculating checksums.
723 </para>
724 <indexterm zone="sg3_utils sg_test_rwbuf">
725 <primary sortas="b-sg_test_rwbuf">sg_test_rwbuf</primary>
726 </indexterm>
727 </listitem>
728 </varlistentry>
729
730 <varlistentry id="sg_turs">
731 <term><command>sg_turs</command></term>
732 <listitem>
733 <para>
734 sends one or more SCSI TEST UNIT READY commands.
735 </para>
736 <indexterm zone="sg3_utils sg_turs">
737 <primary sortas="b-sg_turs">sg_turs</primary>
738 </indexterm>
739 </listitem>
740 </varlistentry>
741
742 <varlistentry id="sg_unmap">
743 <term><command>sg_unmap</command></term>
744 <listitem>
745 <para>
746 sends a SCSI UNMAP command.
747 </para>
748 <indexterm zone="sg3_utils sg_unmap">
749 <primary sortas="b-sg_unmap">sg_unmap</primary>
750 </indexterm>
751 </listitem>
752 </varlistentry>
753
754 <varlistentry id="sg_verify">
755 <term><command>sg_verify</command></term>
756 <listitem>
757 <para>
758 invoke SCSI VERIFY command(s) on a block device.
759 </para>
760 <indexterm zone="sg3_utils sg_verify">
761 <primary sortas="b-sg_verify">sg_verify</primary>
762 </indexterm>
763 </listitem>
764 </varlistentry>
765
766 <varlistentry id="sg_vpd">
767 <term><command>sg_vpd</command></term>
768 <listitem>
769 <para>
770 fetches Vital Product Data (VPD) pages using a SCSI INQUIRY
771 command.
772 </para>
773 <indexterm zone="sg3_utils sg_vpd">
774 <primary sortas="b-sg_vpd">sg_vpd</primary>
775 </indexterm>
776 </listitem>
777 </varlistentry>
778
779 <varlistentry id="sg_write_buffer">
780 <term><command>sg_write_buffer</command></term>
781 <listitem>
782 <para>
783 sends a SCSI WRITE BUFFER command.
784 </para>
785 <indexterm zone="sg3_utils sg_write_buffer">
786 <primary sortas="b-sg_write_buffer">sg_write_buffer</primary>
787 </indexterm>
788 </listitem>
789 </varlistentry>
790
791 <varlistentry id="sg_write_long">
792 <term><command>sg_write_long</command></term>
793 <listitem>
794 <para>
795 sends the SCSI WRITE LONG command.
796 </para>
797 <indexterm zone="sg3_utils sg_write_long">
798 <primary sortas="b-sg_write_long">sg_write_long</primary>
799 </indexterm>
800 </listitem>
801 </varlistentry>
802
803 <varlistentry id="sg_write_same">
804 <term><command>sg_write_same</command></term>
805 <listitem>
806 <para>
807 sends the SCSI WRITE SAME command.
808 </para>
809 <indexterm zone="sg3_utils sg_write_same">
810 <primary sortas="b-sg_write_same">sg_write_same</primary>
811 </indexterm>
812 </listitem>
813 </varlistentry>
814
815 <varlistentry id="sg_wr_mode">
816 <term><command>sg_wr_mode</command></term>
817 <listitem>
818 <para>
819 writes mode page.
820 </para>
821 <indexterm zone="sg3_utils sg_wr_mode">
822 <primary sortas="b-sg_wr_mode">sg_wr_mode</primary>
823 </indexterm>
824 </listitem>
825 </varlistentry>
826
827 <varlistentry id="sg_xcopy">
828 <term><command>sg_xcopy</command></term>
829 <listitem>
830 <para>
831 copies data to and from files and devices
832 using SCSI EXTENDED COPY (XCOPY).
833 </para>
834 <indexterm zone="sg3_utils sg_xcopy">
835 <primary sortas="b-sg_xcopy">sg_xcopy</primary>
836 </indexterm>
837 </listitem>
838 </varlistentry>
839
840 <varlistentry id="libsgutils2">
841 <term><filename class="libraryfile">libsgutils2.so</filename></term>
842 <listitem>
843 <para>
844 contains the <application>sg3_utils</application> API functions.
845 </para>
846 <indexterm zone="sg3_utils libsgutils2">
847 <primary sortas="c-libsgutils2">libsgutils2.so</primary>
848 </indexterm>
849 </listitem>
850 </varlistentry>
851
852 </variablelist>
853
854 </sect2>
855
856</sect1>
Note: See TracBrowser for help on using the repository browser.