man-pages/man8/vpddecode.8.html
2021-03-31 01:06:50 +01:00

138 lines
3.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of VPDDECODE</TITLE>
</HEAD><BODY>
<H1>VPDDECODE</H1>
Section: Maintenance Commands (8)<BR>Updated: February 2007<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
vpddecode - <FONT SIZE="-1">VPD</FONT> structure decoder
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>vpddecode</B>
[<B>OPTIONS</B>]
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>vpddecode</B>
prints the &quot;vital product data&quot; information that can be found in almost
all IBM and Lenovo computers. Available items are:
<DL COMPACT>
<DT id="1">&bull;<DD>
<FONT SIZE="-1">BIOS</FONT> Build <FONT SIZE="-1">ID</FONT>
<DT id="2">&bull;<DD>
Box Serial Number
<DT id="3">&bull;<DD>
Motherboard Serial Number
<DT id="4">&bull;<DD>
Machine Type/Model
<P>
</DL>
<P>
Some systems have these additional items:
<DL COMPACT>
<DT id="5">&bull;<DD>
BIOS Release Date
<DT id="6">&bull;<DD>
Default Flash Image File Name
<P>
</DL>
<P>
Note that these additional items are not documented by IBM, so this is
guess work, and as such should not be blindly trusted. Feedback about
the accuracy of these labels is welcome.
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="7"><B>-d</B>, <B>--dev-mem FILE</B>
<DD>
Read memory from device <B>FILE</B> (default: <B>/dev/mem</B>)
<DT id="8"><B>-s</B>, <B>--string KEYWORD</B>
<DD>
Only display the value of the <FONT SIZE="-1">VPD</FONT> string identified by <B>KEYWORD</B>.
<B>KEYWORD</B> must be a keyword from the following list: <B>bios-build-id</B>,
<B>box-serial-number</B>, <B>motherboard-serial-number</B>,
<B>machine-type-model</B>, <B>bios-release-date</B>.
Each keyword corresponds to an offset and a length within the <FONT SIZE="-1">VPD</FONT>
record.
Not all strings may be defined on all <FONT SIZE="-1">VPD</FONT>-enabled systems.
If <B>KEYWORD</B> is not provided or not valid, a list of all valid
keywords is printed and
<B>vpddecode</B>
exits with an error.
This option cannot be used more than once.
Mutually exclusive with <B>--dump</B>.
<DT id="9"><B>-u</B>, <B>--dump</B>
<DD>
Do not decode the VPD records, dump their contents as hexadecimal instead.
Note that this is still a text output, no binary data will be thrown upon
you. ASCII equivalent is displayed when possible. This option is mainly
useful for debugging.
Mutually exclusive with <B>--string</B>.
<DT id="10"><B>-h</B>, <B>--help</B>
<DD>
Display usage information and exit
<DT id="11"><B>-V</B>, <B>--version</B>
<DD>
Display the version and exit
<P>
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>FILES</H2>
<I>/dev/mem</I>
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>
Jean Delvare
<A NAME="lbAH">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?8+biosdecode">biosdecode</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+dmidecode">dmidecode</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?4+mem">mem</A></B>(4),
<B><A HREF="/cgi-bin/man/man2html?8+ownership">ownership</A></B>(8)
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="12"><A HREF="#lbAB">NAME</A><DD>
<DT id="13"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="14"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="15"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="16"><A HREF="#lbAF">FILES</A><DD>
<DT id="17"><A HREF="#lbAG">AUTHOR</A><DD>
<DT id="18"><A HREF="#lbAH">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:18 GMT, March 31, 2021
</BODY>
</HTML>