freebsd-nq/sys/geom/part
Marcel Moolenaar 38a2db2eb0 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>
2008-10-25 17:21:46 +00:00
..
g_part_apm.c Trivial commit to attempt to diagnose a svn problem. Add 2008-07-22 18:05:50 +00:00
g_part_bsd.c Invalid BSD disklabels have been created by sysinstall and 2008-10-25 17:21:46 +00:00
g_part_gpt.c Keep entries sorted. 2008-09-05 18:09:49 +00:00
g_part_if.m Add the set and unset verbs used to set and clear attributes for 2008-06-18 01:13:34 +00:00
g_part_mbr.c Add the set and unset verbs used to set and clear attributes for 2008-06-18 01:13:34 +00:00
g_part_pc98.c The active and bootable flags are not part of the type. 2008-10-20 04:50:47 +00:00
g_part_vtoc8.c Allow dumps to partitions with a tag of 0. The legacy 2008-10-22 02:08:54 +00:00
g_part.c Insert the null scheme at the head. This does not change any 2008-09-29 02:39:02 +00:00
g_part.h Keep entries sorted. 2008-09-05 18:09:49 +00:00