Re: HEADSUP: change in root mount semantics for md* devices.

From: Matteo Riondato <rionda_at_gufi.org>
Date: Wed, 10 Nov 2004 18:48:03 +0100
Poul-Henning Kamp wrote:
> We have had a hack which would mount the root filesystem R/W if
> the device were named 'md*'.  As part of the vnode work I'm doing
> I have had to remove this hack.
> 
> People building systems which use preloaded MD root filesystems
> may need to insert a "/sbin/mount -u -o rw /dev/md0 /" in their
> /etc/rc scripts.

Surely I'm missing something but I cannot get FreeSBIE running on Qemu anymore,
and I think it's related to this change (cvsup'ed early afternoon CEST).
I changed /etc/rc in the following way:
 --- /etc/rc.orig     Sun Oct 17 09:02:41 2004
+++ /etc/rc    Wed Nov 10 18:27:19 2004
_at__at_ -52,6 +52,7 _at__at_
 
 . /etc/rc.subr
 
+mount -u -o rw /dev/md0 / 
 # Note: the system configuration files are loaded as part of
 # the RCNG system (rc.d/rcconf.sh).  Do not load them here as it may
 # interfere with diskless booting.

But when I boot Qemu, boot process stops at:
md0: Preloaded image </boot/mfsroot> 6291456 bytes at 0xc094bd40
[skip [a]cd0 recognition]
Mounting root from ufs:/dev/md0

Nothing else is printed after this line.
Any hints? Perhaps I modified the wrong file..
Best Regards
-- 
Rionda aka Matteo Riondato
GUFI Staff Member (http://www.gufi.org)
FreeSBIE Developer (http://www.freesbie.org)
BSD-FAQ-it Main Developer (http://utenti.gufi.org/~rionda)
Sent from: kaiser.sig11.org running FreeBSD-6.0-CURRENT

Received on Wed Nov 10 2004 - 16:48:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:21 UTC