Date: Tue, 9 Jun 1998 05:52:36 -0700 (PDT) From: Bruce Evans <bde@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 Message-ID: <199806091252.FAA00453@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806091252.FAA00453>
