Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2011 19:23:52 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        Marcel Moolenaar <marcel@FreeBSD.org>, FreeBSD-Current <freebsd-current@FreeBSD.org>
Subject:   Re: possible mountroot regression
Message-ID:  <4E5E6018.8010801@FreeBSD.org>
In-Reply-To: <1A828073-1D5F-4850-9379-4AB62CF3DAE3@xcllnt.net>
References:  <4E580B14.7090208@FreeBSD.org> <1A828073-1D5F-4850-9379-4AB62CF3DAE3@xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E5E6018.8010801>