possible mountroot regression
avg at FreeBSD.org
Wed Aug 31 16:24:07 UTC 2011
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.
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
- 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.
More information about the freebsd-current