Date: Tue, 21 Aug 2012 14:04:41 -0600 From: Warner Losh <imp@bsdimp.com> To: lev@FreeBSD.org Cc: Ian Lepore <freebsd@damnhippie.dyndns.org>, freebsd-current@freebsd.org Subject: Re: r239356: does it mean, that synchronous dhcp and dhcplcinet with disabled devd gone? Message-ID: <B9382A54-A00C-4FDE-9A52-939BB3BE12E2@bsdimp.com> In-Reply-To: <686419050.20120821214225@serebryakov.spb.ru> References: <20120821095527.GA33206@hell.ukr.net> <67977762.20120821154035@serebryakov.spb.ru> <1959717636.20120821155308@serebryakov.spb.ru> <201208210934.31484.jhb@freebsd.org> <1049151425.20120821190433@serebryakov.spb.ru> <1345562163.27688.347.camel@revolution.hippie.lan> <709115163.20120821192652@serebryakov.spb.ru> <1345564507.27688.354.camel@revolution.hippie.lan> <1409150425.20120821210152@serebryakov.spb.ru> <1345570590.27688.367.camel@revolution.hippie.lan> <686419050.20120821214225@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 21, 2012, at 11:42 AM, Lev Serebryakov wrote: > Hello, Ian. > You wrote 21 =D0=B0=D0=B2=D0=B3=D1=83=D1=81=D1=82=D0=B0 2012 =D0=B3., = 21:36:30: >=20 > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9382A54-A00C-4FDE-9A52-939BB3BE12E2>