Re: possible mountroot regression

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Wed, 31 Aug 2011 19:23:52 +0300
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
Received on Wed Aug 31 2011 - 14:24:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:17 UTC