On 11.08.2010 2:50, Bakul Shah wrote:
> After poking around some, it seems ATA/ATAPI-7 Identify
> Device word 106 bit 13 is set to 1 and bits 0-3 are set to 3
> (for 2^3 or 8 LBAs per sector) for a 4KB sector size (pin 7-8
> jumper on a WD AF disks presumably changes this setting to
> 0,0).  See page 121 of Atapi-7 volume 1 (google for
> ata-atapi-7.pdf).
> 
> Hopefully this helps in whatever `clean solution' you are
> looking for?

This information is already used by ada(4) driver. If your disk
doesn't lie about sector size you can see both logical and physical
sector sizes in output of `camcontrol identify ada0` command.

-- 
WBR, Andrey V. Elsukov

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to