summaryrefslogtreecommitdiff
path: root/biosdevname.1
diff options
context:
space:
mode:
Diffstat (limited to 'biosdevname.1')
-rw-r--r--biosdevname.131
1 files changed, 29 insertions, 2 deletions
diff --git a/biosdevname.1 b/biosdevname.1
index fd0f99b..8bfd8ca 100644
--- a/biosdevname.1
+++ b/biosdevname.1
@@ -35,6 +35,13 @@ Enable debugging
.TP
.B \-\-prefix \fI[string]
string use for embedded NICs in the physical policy (default=em)
+.TP
+.B \-\-nopirq
+Do not use $PIR table for mapping PCI device to slot. Some BIOS have
+incorrect values.
+.TP
+.B \-\-smbios \fI[x.y]
+Require minimum SMBIOS version x.y
.SH POLICIES
.br
The
@@ -50,7 +57,7 @@ policy uses the following scheme:
em<port>
for embedded NICs
.TP
-pci<slot>#<port>_<virtual instance>
+p<slot>#<port>_<virtual instance>
for cards in PCI slots
.br
.TP
@@ -69,7 +76,7 @@ different PCI tree, and thus cannot provide consistent enumeration.
Use of this policy should be limited to only scenarios where all PCI
devices are present at boot (cold-plug).
-.SH RETURN CODES
+.SH EXIT CODES
Returns 0 on success, with BIOS-suggested name printed to stdout.
.br
Returns 1 on provided device name lookup failure.
@@ -77,10 +84,30 @@ Returns 1 on provided device name lookup failure.
Returns 2 if system BIOS does not provide naming information.
biosdevname requires system BIOS to provide naming information, either
via SMBIOS or sysfs files.
+.br
+Returns 3 if not run as root but requires root privileges.
+.br
+Returns 4 if running in a virtual machine.
.SH SEE ALSO
.br
+http://linux.dell.com/wiki/index.php/Oss/libnetdevname
+.br
http://linux.dell.com/files/biosdevname/
+.br
+git://linux.dell.com/biosdevname.git
+
+.SH RELATED PROGRAMS
+.br
+The
+.B dmidecode
+package contains two tools useful for debugging BIOS features that
+biosdevname uses, specifically
+.B dmidecode
+to read the SMBIOS Type 9 and Type 41 tables, and
+.B biosdecode
+to read the PCI IRQ Routing Table. Please include the output of each
+of these programs in any bug reports.
.SH AUTHOR
biosdevname was written by Matt Domsch <Matt_Domsch@dell.com>
.PP