From owner-cvs-sys Tue Feb 21 00:38:30 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id AAA11477 for cvs-sys-outgoing; Tue, 21 Feb 1995 00:38:30 -0800 Received: (from bde@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id AAA11467; Tue, 21 Feb 1995 00:38:26 -0800 Date: Tue, 21 Feb 1995 00:38:26 -0800 From: Bruce Evans Message-Id: <199502210838.AAA11467@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern subr_diskslice.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk bde 95/02/21 00:38:26 Modified: sys/i386/isa diskslice_machdep.c Log: Don't generate any errors here other than EIO. An invalid partition table is not an error, it just causes a smaller slice table. Modified: sys/kern subr_diskslice.c Log: Discard junk from partition tables when reading the tables for applications the same as when initializing the in-core copies. Adjust checksums in labels after adjusting labels. This finishes fudging the on-disk label to make it coherent with the in-core label. Handle EIO during initialization better. Initialize the compatibility slice to the whole disk If there are no real slices. Don't warn about adjusting offsets in the label to make the 'c' partition start at 0. The 'c' offset is now always absolute on-disk and 0 in-core so an adjustment is usually required. Don't confuse LABEL_PART with RAW_PART so much. Check for partitions being within slices differently.