On 01/29/2013 01:13 PM, Andrew McNabb
wrote:
I agree. I was so happy when we moved from FreeBSD with its em's, vr's, rl's, re's, bge's, fxp's, ed's, etcOn Tue, Jan 29, 2013 at 06:11:19PM +0000, Matthew Garrett wrote:Walk /sys/class/net, filter on type, filter out bridges, filter out wireless if you want to. sysfs should have all the information you need without name-based heuristics.You have added confirmation that any attempt to figure out the name of the interface is an ugly brittle mess. ;) -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868 to Linux with just eth! --
Stephen Clark NetWolves Director of Technology Phone: 813-579-3200 Fax: 813-882-0209 Email: steve.clark@xxxxxxxxxxxxx http://www.netwolves.com |
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel