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

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Fri, 12 Nov 2004 11:59:19 +0100
In message <1100108882.760.42.camel_at_kaiser.sig11.org>, Matteo Riondato writes:
>
>--=-XN0dFYtJCXGo+0VuS7Zi
>Content-Type: text/plain
>Content-Transfer-Encoding: quoted-printable
>
>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.
>>=20
>> 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 anym=
>ore,
>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_
>=20
> . /etc/rc.subr
>=20
>+mount -u -o rw /dev/md0 /=20


Actually the correct way is probably to put a proper line in /etc/fstab
and let the normal rc scripts deal with it like it was a normal disk.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Fri Nov 12 2004 - 09:59:21 UTC

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