From owner-freebsd-current@FreeBSD.ORG Tue Aug 21 20:04:45 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 13F6A106566C for ; Tue, 21 Aug 2012 20:04:45 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id CBCC78FC16 for ; Tue, 21 Aug 2012 20:04:44 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so434615pbb.13 for ; Tue, 21 Aug 2012 13:04:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:x-priority :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=KjfMat7a3O9c08Iz302Y+BbLBphnz4EFEAtwHWI7LSA=; b=Uxua+x/AsqizHraT0lzucl14n/4aofDq7EJ0RGLZ9EGinRF7yFYuQnmfi7bFn1vSYJ WAR4WDyjoC9ny0YezAxvvTWGjvXWJk9tCc+13ALaP4F9OgvO5ZRIBpjDITruCtZeTcdd lRPxY1PdYFCX3RDa4uYYy4iWRd5L9jqkm4QXmjGvPy5Mjo5s6Zx+FP4lxrqWfJ94ey+8 AcsQyfe9EI2dOFmYEjv0D0kNiKO1vXqjQsNNPhgZT7DjB3KzqBwWUbrSsRY9MMb0qAri WYuj7nM+B6iu8fS84vss0m+Tph5JKroDYWBYUQMg6tEqaPbSToXWzLEA6n0DWE4xdOpD 9aAg== Received: by 10.66.78.69 with SMTP id z5mr40695003paw.14.1345579484247; Tue, 21 Aug 2012 13:04:44 -0700 (PDT) Received: from fusionlt2834a.int.fusionio.com ([216.51.42.66]) by mx.google.com with ESMTPS id rm9sm2045194pbc.72.2012.08.21.13.04.43 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Aug 2012 13:04:43 -0700 (PDT) Sender: Warner Losh Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=utf-8 From: Warner Losh X-Priority: 3 (Normal) In-Reply-To: <686419050.20120821214225@serebryakov.spb.ru> Date: Tue, 21 Aug 2012 14:04:41 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: 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> To: lev@FreeBSD.org X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQllWpa73hho6XXuuAx5Zlb7O2hAAXuPBTahuyJNlrxsmeVGpDoaJOkBwRixsph39nTeV7dy Cc: Ian Lepore , freebsd-current@freebsd.org Subject: Re: r239356: does it mean, that synchronous dhcp and dhcplcinet with disabled devd gone? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2012 20:04:45 -0000 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