]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Discard junk from partition tables when reading the tables for applications
authorBruce Evans <bde@FreeBSD.org>
Tue, 21 Feb 1995 08:38:24 +0000 (08:38 +0000)
committerBruce Evans <bde@FreeBSD.org>
Tue, 21 Feb 1995 08:38:24 +0000 (08:38 +0000)
commitcf343b5640710b601759175797c1cd241a087ec8
tree39b3a5aff4fba56514e372d2e88da12dbcc5e271
parent22544eb7a05e2761ae0d58565c48d979ad12117d
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.
sys/kern/subr_diskslice.c