source: general/sysutils/sg3_utils.xml@ 7ad652c

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 7ad652c was c3c56b2, checked in by Krejzi <krejzi@…>, 11 years ago

Reimplement none where nothing is installed - programs, libraries or directories.

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

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