Subject: Re: Repost: root on md forces single-user flag for init
To: Brian A. Seklecki <lavalamp@spiritual-machines.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 05/26/2006 21:19:06
On Fri, May 26, 2006 at 02:10:50PM -0400, Brian A. Seklecki wrote:
>
> From: 03/16/2001 11:13:40
>
> Hi!
>
> I would like to know why the kernel forces the single-user flag for init
> if root is on a memory disk?
Probably because there's usually no /etc/rc nor getty on memory disks and we
want a shell anyway
> ----
>
> How exactly does this work? All the INSTALL kernels are the same, and
> they load right into sysinst without a prompt.
>
> PS. md_root.c::md_open_hook() has been moved to src/sys/dev/md_root.c
note that you can override MEMORY_RBFLAGS in your kernel config file.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--