From owner-freebsd-current@FreeBSD.ORG Wed Aug 31 16:24:06 2011 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 F1EB81065675; Wed, 31 Aug 2011 16:24:06 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0E55F8FC1B; Wed, 31 Aug 2011 16:24:04 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA22867; Wed, 31 Aug 2011 19:23:52 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4E5E6018.8010801@FreeBSD.org> Date: Wed, 31 Aug 2011 19:23:52 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110705 Thunderbird/5.0 MIME-Version: 1.0 To: Marcel Moolenaar References: <4E580B14.7090208@FreeBSD.org> <1A828073-1D5F-4850-9379-4AB62CF3DAE3@xcllnt.net> In-Reply-To: <1A828073-1D5F-4850-9379-4AB62CF3DAE3@xcllnt.net> X-Enigmail-Version: 1.2pre Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Marcel Moolenaar , FreeBSD-Current Subject: Re: possible mountroot regression 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: Wed, 31 Aug 2011 16:24:07 -0000 on 27/08/2011 18:16 Marcel Moolenaar said the following: > Maybe a good approach is to change to ".onfail retry" > and extend the root mount prompt with a reboot command, > so that the user/operator is does not have to worry > about typos *and* don't have to trigger a panic just > so that he/she can initiate a reboot. > > Thoughts? Perhaps... Just reporting what happens if .onfail panic is changed to .onfail retry. - if a mounting of a manually entered fs fails, then a value in vfs.mountroot.from would be retried before presenting the prompt again - the above happens regardless of whether -a option was given or mounting of ${vfs.mountroot.from} failed - there is no way of the prompt (as you noted above) - previously an empty input was the way out So, even if .onfail retry is an improvement comparing to .onfail panic, it's still a regression comparing to the previous behavior. -- Andriy Gapon