From owner-freebsd-current@FreeBSD.ORG Tue Aug 21 21:01:33 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D6D5106564A for ; Tue, 21 Aug 2012 21:01:33 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0D78B8FC16 for ; Tue, 21 Aug 2012 21:01:33 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:8870:d54b:33e8:55b2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 6A7134AC2D; Wed, 22 Aug 2012 01:01:31 +0400 (MSK) Date: Wed, 22 Aug 2012 01:01:28 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <1328222662.20120822010128@serebryakov.spb.ru> To: Warner Losh In-Reply-To: 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 Reply-To: lev@FreeBSD.org 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 21:01:33 -0000 Hello, Warner. You wrote 22 =D0=B0=D0=B2=D0=B3=D1=83=D1=81=D1=82=D0=B0 2012 =D0=B3., 0:04:= 41: >> 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? WL> You'd typically not run dhclient in daemon mode in a SoC, since WL> you don't want to chew up the memory all the time, and you'd WL> likely replace the system dhclient with one that's simpler... But My ISP wants lease renewal every 10800 second (3 hours). Do I need to add cron task if I don't want to run dhclient as a daemon on router? WL> the network notification part of devd would be trivial to WL> reproduce if you wanted in a specialized daemon that would do what's re= quired. IMHO, OpenBSD way, when dhclient renew lease after down/up cycle by itself, is much better. --=20 // Black Lion AKA Lev Serebryakov