Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2002 01:33:02 +0100
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        Maxime Henrion <mux@freebsd.org>
Cc:        arch@freebsd.org, Terry Lambert <tlambert2@mindspring.com>
Subject:   Re: a virtual fs to allow root mounting of any fs without special code 
Message-ID:   <200205220133.aa58608@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Tue, 21 May 2002 15:57:14 PDT." <20020521225713.GJ496@elvis.mu.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <200205220133.aa58608>