<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 01/29/2013 01:13 PM, Andrew McNabb
wrote:<br>
</div>
<blockquote cite="mid:20130129181337.GD29442@mcnabbs.org"
type="cite">
<pre wrap="">On Tue, Jan 29, 2013 at 06:11:19PM +0000, Matthew Garrett wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
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.
</pre>
</blockquote>
<pre wrap="">
You have added confirmation that any attempt to figure out the name of
the interface is an ugly brittle mess. ;)
--
Andrew McNabb
<a class="moz-txt-link-freetext" href="http://www.mcnabbs.org/andrew/">http://www.mcnabbs.org/andrew/</a>
PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868
</pre>
</blockquote>
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, etc<br>
to Linux with just eth!<br>
<br>
<div class="moz-signature">-- <br>
Stephen Clark<br>
<b>NetWolves</b><br>
Director of Technology<br>
Phone: 813-579-3200<br>
Fax: 813-882-0209<br>
Email: <a class="moz-txt-link-abbreviated" href="mailto:steve.clark@netwolves.com">steve.clark@netwolves.com</a><br>
<a class="moz-txt-link-freetext" href="http://www.netwolves.com">http://www.netwolves.com</a><br>
</div>
</body>
</html>