~ubuntu-branches/ubuntu/wily/sg3-utils/wily

« back to all changes in this revision

Viewing changes to doc/sg_vpd.8

  • Committer: Package Import Robot
  • Author(s): Ritesh Raj Sarraf
  • Date: 2013-06-23 16:08:01 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20130623160801-7rt7zb2dwk0ba7ut
Tags: 1.36-1
* [69e9dac] Imported Upstream version 1.36
* [cb75936] Add debian compat, level 7
* [68fed25] update README.source
* [3c724fc] Add build-dep autotools-dev
* [e4b9fdd] add destdir to install path
* [7cfff11] Simplify build with debhelper
* [f9a7540] Update symbols for 1.36 release
* [7b0b48d] Enable hardening build

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH SG_VPD "8" "October 2011" "sg3_utils\-1.33" SG3_UTILS
 
1
.TH SG_VPD "8" "November 2012" "sg3_utils\-1.35" SG3_UTILS
2
2
.SH NAME
3
 
sg_vpd \- fetches Vital Product Data (VPD) pages using a SCSI INQUIRY command
 
3
sg_vpd \- fetch Vital Product Data (VPD) pages via a SCSI INQUIRY command
4
4
.SH SYNOPSIS
5
5
.B sg_vpd
6
6
[\fI\-\-enumerate\fR] [\fI\-\-help\fR] [\fI\-\-hex\fR] [\fI\-\-ident\fR]
19
19
has been flagged as mandatory. This page can be fetched by
20
20
using the \fI\-\-ident\fR option.
21
21
.PP
 
22
The reference document used for interpreting VPD pages (and the INQUIRY
 
23
standard response) is T10/1713\-D Revision 36e (SPC\-4, 24 August 2012)
 
24
found at http://www.t10.org . Obsolete and reserved items in the standard
 
25
INQUIRY response output are displayed in square brackets.
 
26
.PP
22
27
When no options are given, other than a \fIDEVICE\fR, then the "Supported
23
28
VPD pages" (0x0) VPD page is fetched and decoded.
24
29
.SH OPTIONS
168
173
.br
169
174
  POA_SUP=0 HRA_SUP=0 VSA_SUP=0
170
175
.PP
 
176
To check if any protection types are supported by a disk use the '\-\-long'
 
177
option on the Extended inquiry data VPD page:
 
178
.PP
 
179
   # sg_vpd \-\-page=ei \-\-long /dev/sdb
 
180
.br
 
181
   extended INQUIRY data VPD page:
 
182
.br
 
183
     ACTIVATE_MICROCODE=0
 
184
.br
 
185
     SPT=1 [protection types 1 and 2 supported]
 
186
.br
 
187
     GRD_CHK=1
 
188
.br
 
189
     ....
 
190
.PP
171
191
Further examples can be found on the http://sg.danny.cz/sg/sg3_utils.html
172
192
web page.
173
193
.SH AUTHOR
174
 
Written by Doug Gilbert
 
194
Written by Douglas Gilbert
175
195
.SH "REPORTING BUGS"
176
196
Report bugs to <dgilbert at interlog dot com>.
177
197
.SH COPYRIGHT
178
 
Copyright \(co 2006\-2011 Douglas Gilbert
 
198
Copyright \(co 2006\-2012 Douglas Gilbert
179
199
.br
180
200
This software is distributed under a FreeBSD license. There is NO
181
201
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.