lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 26 Sep 2011 12:48:46 -0700
From:	Joshua Scoggins <theoretically.x64@...il.com>
To:	Alan Cox <alan@...rguk.ukuu.org.uk>
Cc:	Arun <engineerarun@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: Detection of Advanced Format drives

Keep in mind that some AF drives will not report their actual sector
sizes. I have this issue with the WD AV-25 series. This is to provide
compatibility with older operating systems that don't support AF
drives. These are called generation 1 devices. Newer drives will
directly report their sector size as 4096 through the drive identify
data older ones will say 512. At that point you just need to do a
google search to see if it's AF or not.

-Josh


On Mon, Sep 26, 2011 at 3:15 AM, Alan Cox <alan@...rguk.ukuu.org.uk> wrote:
> On Mon, 26 Sep 2011 15:25:52 +0530
> Arun <engineerarun@...il.com> wrote:
>
>> Is there any way to detect the Advanced Format hard drives with 4K
>> sector size? I understand that above kernel v. 2.6.31 it is supported.
>> But is it possible detect automatically if the drive is an AF drive
>> and how?
>
> It's in the drive identify data (see the ATA 8 specification documents)
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ