From owner-freebsd-arch Tue May 21 17:33:12 2002 Delivered-To: freebsd-arch@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 2C9BB37B405; Tue, 21 May 2002 17:33:05 -0700 (PDT) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 22 May 2002 01:33:04 +0100 (BST) To: Maxime Henrion Cc: arch@freebsd.org, Terry Lambert Subject: Re: a virtual fs to allow root mounting of any fs without special code In-Reply-To: Your message of "Tue, 21 May 2002 15:57:14 PDT." <20020521225713.GJ496@elvis.mu.org> Date: Wed, 22 May 2002 01:33:02 +0100 From: Ian Dowse Message-ID: <200205220133.aa58608@salmon.maths.tcd.ie> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20020521225713.GJ496@elvis.mu.org>, Maxime Henrion writes: >There is however one thing I could do to simplify rootfs even more, >which is before mounting the real fs on /, do a lookup for /dev, retain >the vnode, then mount the real fs normally on /, and call dounmount() to >unmount the devfs under it after this. This could reduce rootfs to a >2-vnodes filesystem but I didn't test it yet. Of course, one further simplification would be to do away with rootfs entirely; mount devfs on /, create a "dev -> ." symlink within devfs, mount the real root, and then unmount the underlying devfs :-) Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message