From owner-cvs-all Tue Jul 20 17:18: 9 1999 Delivered-To: cvs-all@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id C1BDE14F3B; Tue, 20 Jul 1999 17:18:04 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id RAA01154; Tue, 20 Jul 1999 17:13:11 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199907210013.RAA01154@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Mike Smith Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/alpha/libalpha bootinfo.c src/sys/boot/common boot.c bootstrap.h src/sys/boot/i386/libi386 bootinfo.c In-reply-to: Your message of "Tue, 20 Jul 1999 17:08:55 PDT." <199907210008.RAA91598@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 20 Jul 1999 17:13:10 -0700 From: Mike Smith Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > msmith 1999/07/20 17:08:55 PDT > > Modified files: > sys/boot/alpha/libalpha bootinfo.c > sys/boot/common boot.c bootstrap.h > sys/boot/i386/libi386 bootinfo.c > Log: > Walk around the end of all the silly guessing of device types and unit > numbers that we have been doing in the past, and read /etc/fstab off the > proposed root filesystem to determine the actual device name and vfs > type for the root filesystem. These are then exported to the kernel > via the environment variable vfs.root.mountfrom. This should be taken as encouragement for some aspiring kernel enthusiast to fix vfs_conf.c:vfs_mountroot to use the new format, and slate all of the guessing junk in autoconf.c, etc. This new format is also amenable to RB_ASKNAME (although that'd be better done by the loader, TBH). -- \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msmith@freebsd.org \\ -- Joseph Merrick \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message