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

Matteo Riondato rionda at gufi.org
Wed Nov 10 09:48:09 PST 2004


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
@@ -52,6 +52,7 @@
 
 . /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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041110/ae00161c/attachment.bin


More information about the freebsd-current mailing list