[Bug 524147] Review Request: libnetdevname -Development environment for libnetdevname
bugzilla at redhat.com
bugzilla at redhat.com
Fri Sep 18 20:28:29 UTC 2009
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=524147
--- Comment #6 from narendra_k at dell.com 2009-09-18 16:28:28 EDT ---
http://linux.dell.com/git/?p=development/libnetdevname.git;a=summary(In reply
to comment #5)
> So if I understand what's being done by this code (the git-tree at
> http://linux.dell.com/git/development/libnetdevname.git is empty, so I haven't
> looked at it much), it is really here to help user-space apps that would like
> to use an argument other than 'ethX' to identify the card, do so. Is that
> correct?
>
Yes. That is correct. I would look into why the link is not working.
> This doesn't cover any of the work that creates the symlinks between /dev/ethX
> and /dev/net/by-chassis-label/Embedded_NIC_1. I also presume that
> 'Embedded_NIC_1' is a name coming from the BIOS. Is that also correct?
Yes. 'Embedded_NIC_1' is coming from smbios table type 41. This link is created
with the help of "biosdevname" tool(
http://linux.dell.com/projects.shtml#biosdevname) which would take the os given
name of the interface and return the bios given name. The udev rule would look
like -
KERNEL=="eth*", NAME="net/%k", MODE="0666" - would create /dev/net/ethN node
and
SUBSYSTEM=="net", PROGRAM="/sbin/biosdevname -i %k --policy=smbios_names",
SYMLINK += "net/by-chassis-id/%c"
would return 'Embedded_NIC_1'
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the package-review
mailing list