weirdness in interface.c routine get_name()

Rob Landley rob at landley.net
Tue Jun 20 17:56:50 UTC 2006


On Tuesday 20 June 2006 8:20 am, Robert P. J. Day wrote:
> 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?

Busybox 1.0 supported 2.2.  Busybox 1.1 and up support 2.4 and newer.  (We 
don't go out of our way to break 2.2, but we don't have specific support for 
it either.  Some existing 2.2 support workarounds have already been 
removed...)

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list