Date: Mon, 18 Oct 2010 05:01:53 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern vfs_mountroot.c Message-ID: <201010180502.o9I52CUk002018@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2010-10-18 05:01:53 UTC FreeBSD src repository Modified files: sys/kern vfs_mountroot.c Log: SVN rev 214006 on 2010-10-18 05:01:53Z by marcel Re-implement the root mount logic using a recursive approach, whereby each root file system (starting with devfs and a synthesized configuration) can contain directives for mounting another file system as root. The old root file system is re-mounted under the new root file system (with /.mount or /mnt as the mount point) to allow access to the underlying file system. The configuration allows for creating vnode-backed memory disks that can subsequently be mounted as root. This allows for an efficient and low- cost way to distribute and boot FreeBSD software images that reside on some storage media. When trying a mount, the kernel will wait for the device in question to arrive. The timeout is configurable and is part of the configuration. This allows arbitrarily complex GEOM configurations to be constructed on the fly. A side-effect of this change is that all root specifications, whether compiled into the kernel or typed at the prompt can contain root mount options. Revision Changes Path 1.2 +740 -328 src/sys/kern/vfs_mountroot.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010180502.o9I52CUk002018>