Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2010 15:31:49 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Mohacsi Janos <mohacsi@niif.hu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: ATA 4K sector issues
Message-ID:  <86tysf58a2.fsf@ds4.des.no>
In-Reply-To: <alpine.BSF.2.00.1003171114280.74067@mignon.ki.iif.hu> (Mohacsi Janos's message of "Wed, 17 Mar 2010 11:16:16 %2B0100 (CET)")
References:  <alpine.BSF.2.00.1003171114280.74067@mignon.ki.iif.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
Mohacsi Janos <mohacsi@niif.hu> writes:
> What is the situation with ATA 4K dirves in FreeBSD? Are there
> any support for them in fdisk or disklabel?

Hmm, didn't we discuss this already?  All we need to do is change the
defaults in fdisk so it rounds partition offsets and sizes to a multiple
of 8 sectors (or 16 for future-proofing) instead of aligning them with
fictitious cylinder boundaries.  Bsdlabel, as disklabel is properly
known, already DTRT: by default, the first partition starts at offset
16.  Just make sure you specify sizes that are divisible by 8 or 16
blocks (not an issue if you use the M or G suffixes).  Sysinstall
operates in megabytes.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86tysf58a2.fsf>