diff options
author | marcel <marcel@FreeBSD.org> | 2008-10-25 17:21:46 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2008-10-25 17:21:46 +0000 |
commit | 8fb9b724ff720705e8eeeedd65f997aa95f53cdb (patch) | |
tree | 4af0fdefaf7ddc2656aa684ad4d6a341b7eca2fa /etc/periodic | |
parent | eca1f4b10732c3b9c6ecd67e589c654830555ef7 (diff) | |
download | FreeBSD-src-8fb9b724ff720705e8eeeedd65f997aa95f53cdb.zip FreeBSD-src-8fb9b724ff720705e8eeeedd65f997aa95f53cdb.tar.gz |
Invalid BSD disklabels have been created by sysinstall and
are possibly still being created. The d_secperunit field
contains the number of sectors of the disk and not of the
slice/partition to which the disklabel applies.
Rather than reject the disklabel, we now silently adjust
the field. Existing code, like bslabel(8), does not seem
to check the label that extensively and seems to adjust
fields as a side-effect as well.
In other words, it's not that important apparently, so
gpart should not be too strict about it.
Reported by: nyan@
Reported by: Andriy Gapon <avg@icyb.net.ua>
Diffstat (limited to 'etc/periodic')
0 files changed, 0 insertions, 0 deletions