EnglishFrenchSpanish

Ad


OnWorks favicon

biosdevname - Online in the Cloud

Run biosdevname in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command biosdevname that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


biosdevname - give BIOS-given name of a device

SYNOPSIS


biosdevname [options] [args]...

DESCRIPTION


biosdevname takes a kernel device name as an argument, and returns the BIOS-given name it
"should" be.

OPTIONS


-i, --interface
Treat [args] as ethernet devs

-d, --debug
Enable debugging

--policy [physical|all_ethN]

--prefix [string]
string use for embedded NICs in the physical policy (default=em)

--nopirq
Do not use $PIR table for mapping PCI device to slot. Some BIOS have incorrect
values.

--smbios [x.y]
Require minimum SMBIOS version x.y

POLICIES


The physical policy is the current default. However, when invoking biosdevname in udev
rules, one should always specify the policy you want, as the default has changed over
time.
The physical policy uses the following scheme:

em<port>[_<virtual instance>]
for embedded NICs

p<slot>p<port>[_<virtual instance>]
for cards in PCI slots

The all_ethN policy makes a best guess at what the device order should be, with
embedded devices first, PCI cards in ascending slot order, and ports in ascending
PCI bus/device/function order breadth-first. However, this policy does not work if
your PCI devices are hot-plugged or hot-pluggable, including the virtual functions
on an SR-IOV device. In a hot-plug scenario, each separate udev instance will be
invoked in parallel, while the device tree is still being populated with new
devices. Each udev instance will see a 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).

EXIT CODES


Returns 0 on success, with BIOS-suggested name printed to stdout.
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.
Returns 3 if not run as root but requires root privileges.
Returns 4 if running in a virtual machine.

Use biosdevname online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 2
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 3
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 4
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • 5
    GLPI Themes
    GLPI Themes
    Download release at
    https://github.com/stdonato/glpi-modifications/
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • 6
    SMPlayer
    SMPlayer
    SMPlayer is a free media player for
    Windows and Linux with built-in codecs
    that can also play YouTube videos. One
    of the most interesting features of
    SMPlayer:...
    Download SMPlayer
  • More »

Linux commands

Ad