possible mountroot regression

Andriy Gapon avg at FreeBSD.org
Fri Aug 26 21:07:36 UTC 2011

It seems that after the introduction of the mountroot scripting language a user
now has exactly one chance to try to specify a correct root device at the
mountroot prompt.  I am not sure that that is convenient/enough.

I suspect that the following code is the cause:

static void
vfs_mountroot_conf0(struct sbuf *sb)
        char *s, *tok, *mnt, *opt;
        int error;

        sbuf_printf(sb, ".onfail panic\n");

Andriy Gapon

More information about the freebsd-current mailing list