On Thursday 18 June 2009 18:20:06 Ferenc Wagner wrote:
> "Malte S. Stretz" <[email protected]> writes:
> > On Thursday 18 June 2009 16:22:54 Jo-Philipp Wich wrote:
> >>> today I've written a proof-of-concept for
> >>> getting rid of oldstyle networking aka 'ifconfig'.
> >>
> >> You do realize that this "oldstyle" networking stuff uses busybox
> >> internals while switching to "ip" will introduce yet another few
> >> kilobytes of bloat?
> >
> > busybox also has a builtin ip; I don't know if it has all the features
> > needed but if it has, the images could get even smaller without the
> > external ip and without the builtin ifconfig.
>
> The ip applet is not enabled currently, and I don't know if it's
> smaller than the ifconfig applet.

I know that its not enabled per default and don't know either if it is smaller 
(but I'm currently compiling to see what the difference is).  But even if it 
is the same size as ifconfig, the per default installed ip package (the binary 
has about 200k) would become obsolete.  If busybox can do all the stuff it 
does that means.

So maybe $((script + (busybox + ip_applet - ifconfig_applet))) < $((ip + 
(busybox - ip_applet + ifconfig_applet))...  we'll see.

Cheers,
Malte

-- 
   
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to