biosdevname -V (return code: 1)
biosdevname: unrecognized option '--version'
Usage: biosdevname [options] [args]...
Options:
-i or --interface treat [args] as ethernet devs
-d or --debug enable debugging
--policy [physical | all_ethN ]
--prefix [string] string use for embedded NICs (default='em')
--smbios [x.y] Require SMBIOS x.y or greater
--nopirq Don't use $PIR table for slot numbers
Example: biosdevname -i eth0
returns: em1
when eth0 is an embedded NIC with label '1' on the chassis.
You must be root to run this, as it must read from /dev/mem.
biosdevname --help (return code: 1)
biosdevname: unrecognized option '--help'
Usage: biosdevname [options] [args]...
Options:
-i or --interface treat [args] as ethernet devs
-d or --debug enable debugging
--policy [physical | all_ethN ]
--prefix [string] string use for embedded NICs (default='em')
--smbios [x.y] Require SMBIOS x.y or greater
--nopirq Don't use $PIR table for slot numbers
Example: biosdevname -i eth0
returns: em1
when eth0 is an embedded NIC with label '1' on the chassis.
You must be root to run this, as it must read from /dev/mem.