svn commit: r216230 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Bruce Evans brde at optusnet.com.au
Wed Dec 8 03:23:30 UTC 2010


On Tue, 7 Dec 2010, Doug Barton wrote:

> On 12/07/2010 03:51, Bruce Cran wrote:
>>  From a new installation of Windows 7 and FreeBSD CURRENT:
>> 
>> GEOM: ada0: partition 3 does not start on a track boundary.
>> GEOM: ada0: partition 3 does not end on a track boundary.
>> GEOM: ada0: partition 2 does not start on a track boundary.
>> GEOM: ada0: partition 2 does not end on a track bounary.
>> 
>> Partition 2 is the reserved partition while 3 is an NTFS partition, both
>> created in the Windows setup application.
>> 
>> Since Windows isn't bothering to align partitions do we still need to
>> warn about it?
>
> It would be great to remove this warning. I see the same problem with 
> partitions created by Linux, which uses the Windows'y version of CHS.

GEOM_PART spews warnings like this (IIRC the same ones) for partitions
created by FreeBSD when FreeBSD actually knew the correct (fictitious
BIOS) geometry.  Killing GEOM_PART stopped them.  Note that GEOM_PART is
inflicted by conf/DEFAULTS, at least for i386.

# Kill bad default options.
nooptions 	GEOM_PART_BSD
nooptions 	GEOM_PART_EBR
nooptions 	GEOM_PART_EBR_COMPAT
nooptions 	GEOM_PART_MBR

# Add non-default options.
options 	GEOM_BSD
options 	GEOM_MBR

GEOM_PART also gave weirdness for FreeBSD partitions, with multiple device
entries for some partitions and other aliasing bugs.

Bruce


More information about the svn-src-head mailing list