From owner-cvs-sys Tue Dec 10 06:07:46 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id GAA01337 for cvs-sys-outgoing; Tue, 10 Dec 1996 06:07:46 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id GAA01330; Tue, 10 Dec 1996 06:07:44 -0800 (PST) Date: Tue, 10 Dec 1996 06:07:44 -0800 (PST) From: Bruce Evans Message-Id: <199612101407.GAA01330@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/biosboot disk.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/12/10 06:07:43 Modified: sys/i386/boot/biosboot disk.c Log: Give up early for empty partitions. The offset for an empty partition is 0, which is outside the slice unless the disk is dangerously dedicated. There is little error checking later, and following garbage metadata outside the slice usually caused crashes, Empty 'a' partitions are fairly easy to create by cloning the label for the whole disk. Fixed a missing newline in a related error message. Revision Changes Path 1.23 +7 -3 src/sys/i386/boot/biosboot/disk.c