From owner-cvs-all Wed Nov 3 3: 4: 2 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2B01214F8D; Wed, 3 Nov 1999 03:04:00 -0800 (PST) (envelope-from msmith@FreeBSD.org) Received: (from msmith@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA75099; Wed, 3 Nov 1999 03:02:49 -0800 (PST) (envelope-from msmith@FreeBSD.org) Message-Id: <199911031102.DAA75099@freefall.freebsd.org> From: Mike Smith Date: Wed, 3 Nov 1999 03:02:49 -0800 (PST) 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 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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