[Bug 524147] Review Request: libnetdevname -Development environment for libnetdevname

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 #7 from narendra_k@xxxxxxxx  2009-09-18 17:01:30 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.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]