Date: Wed, 3 Nov 1999 03:02:49 -0800 (PST) From: Mike Smith <msmith@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_conf.c src/sys/ufs/mfs mfs_vfsops.c Message-ID: <199911031102.DAA75099@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
msmith 1999/11/03 03:02:49 PST
Modified files:
sys/kern vfs_conf.c
sys/ufs/mfs mfs_vfsops.c
Log:
Make MFS work with the new root filesystem search process.
In order to achieve this, root filesystem mount is moved from
SI_ORDER_FIRST to SI_ORDER_SECOND in the SI_SUB_MOUNT_ROOT sysinit
group. Now, modules which wish to usurp the default root mount
can use SI_ORDER_FIRST.
A compiled-in or preloaded MFS filesystem will become the root
filesystem unless the vfs.root.mountfrom environment variable refers
to a valid bootable device. This will normally only be the case when
the kernel and MFS image have been loaded from a disk which has a
valid /etc/fstab file. In this case, the variable should be manually
overridden in the loader, or the kernel booted with -a. In either
case "mfs:" should be supplied as the new value.
Also fix a typo in one DFLTROOT case that would not have compiled.
Revision Changes Path
1.35 +11 -9 src/sys/kern/vfs_conf.c
1.78 +31 -15 src/sys/ufs/mfs/mfs_vfsops.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911031102.DAA75099>
