source: general/sysutils/sg3_utils.xml@ 662e411

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 662e411 was 662e411, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Update to sg3_utils-1.34
Update to libksba-1.3.0

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

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