From owner-freebsd-arch Tue Oct 24 7:35:24 2000 Delivered-To: freebsd-arch@freebsd.org Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (Postfix) with ESMTP id 64AB437B479 for ; Tue, 24 Oct 2000 07:35:22 -0700 (PDT) Received: (from daemon@localhost) by smtp01.primenet.com (8.9.3/8.9.3) id HAA19152; Tue, 24 Oct 2000 07:34:29 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp01.primenet.com, id smtpdAAAKWaqyL; Tue Oct 24 07:34:22 2000 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id HAA28287; Tue, 24 Oct 2000 07:35:13 -0700 (MST) From: Terry Lambert Message-Id: <200010241435.HAA28287@usr05.primenet.com> Subject: Re: Ideas concerning fsck To: phk@critter.freebsd.dk (Poul-Henning Kamp) Date: Tue, 24 Oct 2000 14:34:56 +0000 (GMT) Cc: des@ofug.org (Dag-Erling Smorgrav), mbendiks@eunet.no (Marius Bendiksen), arch@FreeBSD.ORG In-Reply-To: <19690.972397162@critter> from "Poul-Henning Kamp" at Oct 24, 2000 04:19:22 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > The idea I have been toying with is to mount DEVFS as / and mount > the "real" root on top of it with a unionmount. > > Amongst the things this would allow is a kind of "persistence" for > /dev (should anybody still want that) and various trickery like > mirror/raid initializations could be performed from userland > before mounting the "real" root. Yes, this is absolutely the right way to do this. Another simplification is to mount into the mounted FS list, and then map into the namespace, as a seperate, second step. This would permit all of the mount point covering code to be moved to higher level common code in the mount system call. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message