weirdness in interface.c routine get_name()
Robert P. J. Day
rpjday at mindspring.com
Tue Jun 20 12:20:49 UTC 2006
On Tue, 20 Jun 2006, Michael S. Zick wrote:
> On Tue June 20 2006 05:24, Robert P. J. Day wrote:
> >
> >
> > also, will the file /proc/net/dev actually contain interface alias
> > names? on my FC system, i used ifconfig to create a totally bogus
> > alias name, eth0:1, but that name never appeared in that file. can
> > anyone else confirm that interface aliases will really show up there?
> >
> Just checked kernel-2.6.14 and kernel-2.4.22 no alias names in /proc/net/dev
>
> The code for alias accounting was changed in kernel-2.2.something -
> You may be looking at code supporting kernels before 2.2.x
i suspected as much. refresh my memory -- is busybox still actively
supporting kernels earlier than 2.2? if not, perhaps that code can be
simplified. certainly, that entire routine can be replaced with a
simple call to xregcomp() to extract the interface name.
rday
More information about the busybox
mailing list