From owner-freebsd-current Wed Nov 3 3:10:12 1999 Delivered-To: freebsd-current@freebsd.org Received: from dingo.cdrom.com (castles558.castles.com [208.214.165.122]) by hub.freebsd.org (Postfix) with ESMTP id 0B1C014CAB; Wed, 3 Nov 1999 03:10:09 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id DAA04459; Wed, 3 Nov 1999 03:00:28 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911031100.DAA04459@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Mike Smith Cc: current@FreeBSD.org Subject: Re: cvs commit: src/sys/kern vfs_conf.c src/sys/ufs/mfs mfs_vfsops.c In-reply-to: Your message of "Wed, 03 Nov 1999 03:02:49 PST." <199911031102.DAA75099@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 03 Nov 1999 03:00:27 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This should fix GENERIC and thus also the release builds. Sorry about the delay in getting this part committed. > 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 > > > -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message