Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Dec 2010 13:57:04 +0200
From:      Andriy Gapon <avg@freebsd.org>
To:        Bruce Cran <bruce@cran.org.uk>
Cc:        src-committers@freebsd.org, Pawel Jakub Dawidek <pjd@freebsd.org>, John Baldwin <jhb@freebsd.org>, svn-src-all@freebsd.org, Ivan Voras <ivoras@freebsd.org>, svn-src-head@freebsd.org, Alexander Motin <mav@freebsd.org>
Subject:   Re: svn commit: r216230 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <4CFE2110.8020108@freebsd.org>
In-Reply-To: <20101207115106.GB68479@muon.cran.org.uk>
References:  <201012061218.oB6CI3oW032770@svn.freebsd.org> <AANLkTine9rGq_cM4ruFXYq=-F7cMXcQAr-zKHuWoQs2z@mail.gmail.com> <20101206195327.GD1936@garage.freebsd.pl> <201012061518.49835.jhb@freebsd.org> <4CFD514E.8010103@FreeBSD.org> <20101207095137.GC1700@garage.freebsd.pl> <4CFE0B9E.3060808@FreeBSD.org> <20101207110410.GE1700@garage.freebsd.pl> <4CFE1B0F.90908@FreeBSD.org> <20101207115106.GB68479@muon.cran.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
on 07/12/2010 13:51 Bruce Cran said the following:
> On Tue, Dec 07, 2010 at 01:31:27PM +0200, Alexander Motin wrote:
>> Not necessary. Some places indeed may have some legacy requirements,
>> for example, in theory MBR want partition to be aligned to "track
>> boundary" (but I've seen many pre-formatted SD cards with MBR
>> violating it to align partition to flash sector). Same time for BSD
>> label I see no problem to align partitions any way we want. I also
>> see no problems to make FAT cluster, UFS block/fragment, etc, to
>> match some sizes.
> 
>>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?
> 

No.
And another reason is that modern drives do not actually report any CHS
parameters, so I don't even know where we get them and how we (pretend to) know
we track boundaries are.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CFE2110.8020108>