Re: r239356: does it mean, that synchronous dhcp and dhcplcinet with disabled devd gone?

From: Warner Losh <imp_at_bsdimp.com>
Date: Tue, 21 Aug 2012 14:04:41 -0600
On Aug 21, 2012, at 11:42 AM, Lev Serebryakov wrote:

> Hello, Ian.
> You wrote 21 августа 2012 г., 21:36:30:
> 
> IL> I think it's funny how people have this knee-jerk reaction against C++
> IL> apps.  The devd executable is not exactly an example of bloatware: 374k
> IL> statically linked (so it already includes this "C++ runtime" that you
> IL> think is large).    We routinely deploy embedded systems that use apps
> IL> written exclusively in C++, on systems that only have 32 or 64mb of ram.
> IL> We've been doing so since the days when the biggest compact flash card
> IL> you could buy was 64mb.
>  BTW, typical  MIPS  SoC-based  router has only 16MiB of flash. And,
> yes, FreeBSD doesn't fit well in this size now, but why add another
> mandatory program, only role of which is to monitor network cable and
> re-run the same program every time?

You'd typically not run dhclient in daemon mode in a SoC, since you don't want to chew up the memory all the time, and you'd likely replace the system dhclient with one that's simpler...  But the network notification part of devd would be trivial to reproduce if you wanted in a specialized daemon that would do what's required.

Warner
Received on Tue Aug 21 2012 - 18:04:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:29 UTC