[PATCH] new applet gethostbyname

Paul Smith paul at mad-scientist.net
Thu Jul 5 15:41:55 UTC 2012


On Thu, 2012-07-05 at 17:13 +0300, Eial Czerwacki wrote:
> On 07/05/2012 02:03 PM, Laurent Bercot wrote:
> >> but these bins are large, my applet adds at most 3kb to the total size.
> > 
> >  My statically linked "dnsip" applet is 27 kB. This does not qualify as
> > "large" by any means on a full-fledged Unix platform (even an embedded one),
> > especially compared to the BIND "host" binary.
> 
> for me it does, way to big when one can get the same behavior in a
> fraction of the size.

That's fine but you have to understand that just because adding a new
custom applet like this to busybox would be the best for your specific
environment that doesn't mean it's the best for everyone else, or for
the busybox project as a whole.

If it ends up that you need this particular "gethostbyname" applet as
written previously then probably you should keep it locally and continue
to patch it into your personal version of busybox.

If you can use a getent applet instead, and one is created and added to
busybox, that would be better for everyone of course.

Cheers!



More information about the busybox mailing list