From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 19 23:15:55 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29BC7106564A for ; Tue, 19 Jun 2012 23:15:55 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id A77BC8FC0A for ; Tue, 19 Jun 2012 23:15:54 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so6805508wgb.31 for ; Tue, 19 Jun 2012 16:15:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=StNae1GCQHwqe4w+57pM4NoD64kt18NXwmLIAsNJREI=; b=hgDswL13DGzK4K0zrwBO+ijiVz5sLvoCVtxHSpdu61WI82ubFfE2nx5JIgwtHeKEzu LpRWsBSd5nloZmW3865U1tBHFMHuglGyINA6KVpge4YDCBZgDaVndcHWgY6PRPPn5WuK 8KBpaeyiu2GR+F6NYiS0Lfea7PxD8+dluc2vzt//iKY5QTprz3uo3E1G5b2erEEzwFEz tb0Av7CTu3oJ8ke2HDzAtOQWqIoYgHb4GZTzA4XNN6Hv8FrFsRrLyXvdVsRiM53idUm9 P+hT5+GEwhAnqokklefpXenc6ZTGLdFTk5LC4lmOwG8IoYnz9VzN9sRsi+ggUQcoXCEr maMw== Received: by 10.180.80.35 with SMTP id o3mr7025856wix.7.1340147751837; Tue, 19 Jun 2012 16:15:51 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id dg2sm65445049wib.4.2012.06.19.16.15.50 (version=SSLv3 cipher=OTHER); Tue, 19 Jun 2012 16:15:51 -0700 (PDT) Date: Wed, 20 Jun 2012 00:15:49 +0100 From: RW To: freebsd-hackers@freebsd.org Message-ID: <20120620001549.60c1166d@gumby.homeunix.com> In-Reply-To: References: <20120615124849.GI96212@ass.kameli.org> <20120618081140.GK96212@ass.kameli.org> <4FDF6177.5050608@unsane.co.uk> <4FDF6586.9060501@gentoo.org> <4FDFB166.2040709@FreeBSD.org> <4FE0AD56.8050604@FreeBSD.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Replacing rc(8) (Was: FreeBSD Boot Times) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2012 23:15:55 -0000 On Tue, 19 Jun 2012 11:03:31 -0700 Garrett Cooper wrote: > On Tue, Jun 19, 2012 at 10:51 AM, Wojciech Puchar > wrote: > >>> grep sleep /etc/rc.d/* usr/local/etc/rc.d/* > >> > >> Sleeps in /etc tend to be there for good reasons, and new ones are > >> vigorously scrutinized. If you see any that you think are dubious, > >> feel free to mention them on freebsd-rc@. > > > > I don't say they are not needed but that they exist. > > anyway i don't understand sleep 1 after setting default route. > > Probably working around annoying races in the driver / network / > routing stack. Please see my previous reply. There are a few sleeps where some action is performed and and then a fixed sleep is done, but this is one of the ones where the sleep is in a while loop - a full second seems a bit long.