From owner-cvs-all Tue Jun 9 05:52:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA12109 for cvs-all-outgoing; Tue, 9 Jun 1998 05:52:39 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA12095; Tue, 9 Jun 1998 05:52:36 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id FAA00453; Tue, 9 Jun 1998 05:52:36 -0700 (PDT) Date: Tue, 9 Jun 1998 05:52:36 -0700 (PDT) Message-Id: <199806091252.FAA00453@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 autoconf.c src/sys/kern vfs_conf.c src/sys/sys systm.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk bde 1998/06/09 05:52:35 PDT Modified files: sys/i386/i386 autoconf.c sys/kern vfs_conf.c sys/sys systm.h Log: Pass lists of possible root devices and their names up to the machine-independent code and try mounting the devices in the lists instead of guessing alternative root devices in a machine- dependent way. autoconf.c: Reject preposterous slice numbers instead of silently converting them to COMPATIBILITY_SLICE. Don't forget to force slice = COMPATIBILITY_SLICE in the floppy device name. Eliminated most magic numbers and magic device names in setroot(). Fixed dozens of style bugs. vfs_conf.c: Put the actual root device name instead of "root_device" in the mount struct if the actual name is available. This is useful after booting with -s. If it were set in all cases then it could be used to do mount(8)'s ROOTSLICE_HUNT and fsck(8)'s hotroot guess better. Revision Changes Path 1.98 +48 -44 src/sys/i386/i386/autoconf.c 1.25 +28 -16 src/sys/kern/vfs_conf.c 1.72 +3 -1 src/sys/sys/systm.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message