summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-03-11 00:10:31 +0000
committermsmith <msmith@FreeBSD.org>1998-03-11 00:10:31 +0000
commit46304bfe5a3c7beb586dc61aff63d7190373e424 (patch)
treee87d9f05e9867c87a8e23528e3c021e62cec0443 /sys/pci
parent56e6dd5935c908c873cb2b9a2af503c6fa01c26a (diff)
downloadFreeBSD-src-46304bfe5a3c7beb586dc61aff63d7190373e424.zip
FreeBSD-src-46304bfe5a3c7beb586dc61aff63d7190373e424.tar.gz
If the root mount fails from a device that is not the compatability slice
of a disk, because that slice does not exist, try again mounting from the compatability slice. This handles the case where a disk has been initialised by 'disklabel auto', which places a bogus and invalid slice entry on the disk. The bootstrap is not smart enough to reject this slice, and pretends to boot from it. Believing the the bootstrap at this point is unwise. Booting from non-'wd' disks thus prepared is still broken, as 'disklabel -rwB xdN auto' does not initialise the disk type field, and the bootstrap mistakenly claims that the disk is handled by 'wd'. Behaviour is now consistent with DEVFS expected characteristics.
Diffstat (limited to 'sys/pci')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud