]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the error return in disk_readslicetab() when an MBR/GPT partition
authorPeter Grehan <grehan@FreeBSD.org>
Tue, 2 Oct 2012 04:41:43 +0000 (04:41 +0000)
committerPeter Grehan <grehan@FreeBSD.org>
Tue, 2 Oct 2012 04:41:43 +0000 (04:41 +0000)
commitd618687f27ff8adcfdeef2962e0b1931843e3ac1
tree099ac1de477c5e597f0600b8e34695be4eb72eb3
parent6c825330e521a120c088f8b320a7ea362a92bff3
Fix the error return in disk_readslicetab() when an MBR/GPT partition
wasn't found, and use that in userdisk_open() to allow raw disks
and ISO images to be read.

This is a temporary fix - disk.c has changed a lot in CURRENT so this
code may be reworked or made redundant on the next IFC. It is useful
to be able to boot from CD in the meantime.
sys/boot/common/disk.c
sys/boot/userboot/userboot/userboot_disk.c