From owner-freebsd-stable@FreeBSD.ORG Sun Jan 5 21:16:23 2014 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5B482FE4 for ; Sun, 5 Jan 2014 21:16:23 +0000 (UTC) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2A11114B3 for ; Sun, 5 Jan 2014 21:16:22 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Vzv3V-000A55-Vi; Sun, 05 Jan 2014 21:16:22 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s05LGJ1W026666; Sun, 5 Jan 2014 14:16:19 -0700 (MST) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/3t627YIbDKnKUvuhBNaw+ Subject: Re: How to make boot wait a few seconds more for device response? From: Ian Lepore To: Thomas Mueller In-Reply-To: <466613.61666.bm@smtp120.sbc.mail.bf1.yahoo.com> References: <43.76.14229.524B7C25@cdptpa-oedge01> <52C7EC3E.6070709@grosbein.net> <20140104213749.GA60414@neutralgood.org> <1388873531.1158.306.camel@revolution.hippie.lan> <674003.48630.bm@smtp114.sbc.mail.gq1.yahoo.com> <1388936456.1158.308.camel@revolution.hippie.lan> <466613.61666.bm@smtp120.sbc.mail.bf1.yahoo.com> Content-Type: text/plain; charset="us-ascii" Date: Sun, 05 Jan 2014 14:16:19 -0700 Message-ID: <1388956579.1158.326.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jan 2014 21:16:23 -0000 On Sun, 2014-01-05 at 21:06 +0000, Thomas Mueller wrote: > > I don't know whether it's documented anywhere, I just remembered seeing > > it in the source when I was working on a change to nfs root filesystems, > > so I grepped and re-found it yesterday. I think it's set in terms of > > whole seconds. > > -- Ian > > This was for vfs.mountroot.timeout . > > There needs to be better documentation. I have already searched for too many needles in the haystack and lost a lot of time that way. > > I could type "show" at loader prompt, but figure only a small chance of finding everything, output may be sketchy. > > So I still don't know whether it should be seconds or milliseconds. > > Where did you find it in the source tree? I made another search, unsuccessful, for the needle in the haystack. > > Tom Yes, for vfs.mountroot.timeout the units are whole seconds. It's implemented in src/sys/kern/vfs_mountroot.c -- Ian