Support for WD Advanced Format disks

Andrey V. Elsukov bu7cher at yandex.ru
Wed Aug 11 04:49:02 UTC 2010


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20100811/1eae93d2/signature.pgp


More information about the freebsd-hackers mailing list