biosdevname in its simplest form takes an kernel name name as an argument, and returns the BIOS-given name it 'should' be.
The distro-patches/sles10/ directory contains a patch needed to integrate biosdevname into the SLES10 udev ethernet naming rules.
This also works as a straight udev rule. On RHEL4, that looks like:
KERNEL=="eth*", ACTION=="add", PROGRAM="/usr/sbin/biosdevname -i %k", NAME="%c"
This makes use of various BIOS-provided tables:
PCI Confuration Space
PCI IRQ Routing Table ($PIR)
PCMCIA Card Information Structure
SMBIOS 2.6 Type 9, Type 41, and HP OEM-specific types
therefore it's likely that this will only work well on architectures that provide such information in their BIOS.
What's New in This Release:
· Work has been done to integrate biosdevname with udev rules cleanly.
· This release, along with udev > 115, accomplishes that.
· A segfault in the PCMCIA code path and another segfault have been fixed.
· This release is available as a Debian package.
· There are some changes to the makefile and RPM spec file.
Version 0.2.4: N/A