ATA 4K sector issues

Mohacsi Janos mohacsi at niif.hu
Wed Mar 17 15:53:19 UTC 2010




On Wed, 17 Mar 2010, Dag-Erling Sm?rgrav wrote:

> Mohacsi Janos <mohacsi at 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.

Thanks for the information.



More information about the freebsd-hackers mailing list