From owner-freebsd-current@FreeBSD.ORG Sat Oct 3 21:05:16 2009 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 39DAE106566B for ; Sat, 3 Oct 2009 21:05:16 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id C23D98FC18 for ; Sat, 3 Oct 2009 21:05:15 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=aQey1_VUwUUA:10 a=RERtC8nhXGhYvIZhK0yWrQ==:17 a=6I5d2MoRAAAA:8 a=5gf2Ddml6QYDpfdkZNMA:9 a=0V-Cp3Na0UaqcuqHqOkN87ZhohkA:4 Received: from [90.149.203.35] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1325308683; Sat, 03 Oct 2009 23:05:14 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Sat, 3 Oct 2009 23:06:00 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <20091002150931.K35591@pooker.samsco.org> <200910031800.24896.hselasky@c2i.net> In-Reply-To: X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910032306.01529.hselasky@c2i.net> Cc: Marcel Moolenaar Subject: Re: [PATCH] Fix for USB media not found at boot 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: Sat, 03 Oct 2009 21:05:16 -0000 On Saturday 03 October 2009 20:51:07 Marcel Moolenaar wrote: > On Oct 3, 2009, at 9:00 AM, Hans Petter Selasky wrote: > > An approach like this also allows one to indefinitely wait for the root > device, which is a good feature to have... Here is a patch you can try: http://perforce.freebsd.org/chv.cgi?CH=169183 NOTE: I was not able to get any characters from gets() nor cncheckc(), so there seems to be a bug somewhere. This used to work before at mount-root time. --HPS