Date: Fri, 12 Nov 2004 11:59:19 +0100 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: rionda@gufi.org Cc: small@freebsd.org Subject: Re: HEADSUP: change in root mount semantics for md* devices. Message-ID: <96125.1100257159@critter.freebsd.dk> In-Reply-To: Your message of "Wed, 10 Nov 2004 18:48:03 %2B0100." <1100108882.760.42.camel@kaiser.sig11.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <1100108882.760.42.camel@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 >@@ -52,6 +52,7 @@ >=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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96125.1100257159>