~ubuntu-branches/debian/stretch/sg3-utils/stretch

« back to all changes in this revision

Viewing changes to doc/sg_vpd.8

  • Committer: Bazaar Package Importer
  • Author(s): Ritesh Raj Sarraf
  • Date: 2011-08-09 16:36:28 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20110809163628-yh8okvhe20j5rekq
Tags: 1.32-1
* [06cef8d] Use kfreebsd-any as the build-dep.
  Thanks to Robert Millan (Closes: 634362)
* [850586d] separate build-arch and build-indep targets
* [a432747] Drop duplicate changelog
* [ec2bbd8] Update Standards Version to 3.9.2. No changes required

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
The examples in this page use Linux device names. For suitable device
119
119
names in other supported Operating Systems see the sg3_utils(8) man page.
120
120
.PP
121
 
Further examples can be found on http://sg.danny.cz/sg/sg3_utils.html
 
121
To see the VPD pages that a device supports, use with no options. The
 
122
command line invocation is shown first followed by a typical response:
 
123
.PP
 
124
   # sg_vpd /dev/sdb
 
125
.br
 
126
Supported VPD pages VPD page:
 
127
.br
 
128
  Supported VPD pages [sv]
 
129
.br
 
130
  Unit serial number [sn]
 
131
.br
 
132
  Device identification [di]
 
133
.br
 
134
  Extended inquiry data [ei]
 
135
.br
 
136
  Block limits (SBC) [bl]
 
137
.PP
 
138
To see the VPD page numbers associated with each supported page then
 
139
add the '\-\-long' option to the above command line. To view a
 
140
VPD page either its number or abbreviation can be given to
 
141
the '\-\-page=' option. The page name abbreviations are shown within
 
142
square brackets above. In the next example the Extended inquiry data
 
143
VPD page is listed:
 
144
.PP
 
145
   # sg_vpd \-\-page=ei /dev/sdb
 
146
.br
 
147
extended INQUIRY data VPD page:
 
148
.br
 
149
  ACTIVATE_MICROCODE=0 SPT=0 GRD_CHK=0 APP_CHK=0 REF_CHK=0
 
150
.br
 
151
  UASK_SUP=0 GROUP_SUP=0 PRIOR_SUP=0 HEADSUP=1 ORDSUP=1 SIMPSUP=1
 
152
.br
 
153
  WU_SUP=0 CRD_SUP=0 NV_SUP=0 V_SUP=0
 
154
.br
 
155
  P_I_I_SUP=0 LUICLR=0 R_SUP=0 CBCS=0
 
156
.br
 
157
  Multi I_T nexus microcode download=0
 
158
.br
 
159
  Extended self-test completion minutes=0
 
160
.PP
 
161
Further examples can be found on the http://sg.danny.cz/sg/sg3_utils.html
122
162
web page.
123
163
.SH AUTHOR
124
164
Written by Doug Gilbert