From owner-freebsd-current@FreeBSD.ORG Fri Nov 12 10:59:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D60816A4CE; Fri, 12 Nov 2004 10:59:21 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48AD943D53; Fri, 12 Nov 2004 10:59:20 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id iACAxJx1096126; Fri, 12 Nov 2004 11:59:19 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: rionda@gufi.org From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 10 Nov 2004 18:48:03 +0100." <1100108882.760.42.camel@kaiser.sig11.org> Date: Fri, 12 Nov 2004 11:59:19 +0100 Message-ID: <96125.1100257159@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: current@freebsd.org cc: small@freebsd.org Subject: Re: HEADSUP: change in root mount semantics for md* devices. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 10:59:21 -0000 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.