On 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