lkml.org 
[lkml]   [2011]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Detection of Advanced Format drives
From
Date
>>>>> "Arun" == Arun  <engineerarun@gmail.com> writes:

Arun> A quick check of hdparm tells me that it is using the SG_IO ioctl
Arun> for the ATA_OP_PIDENTIFY command. Maybe I have some hopes of
Arun> having a correct result with the BLKPBSZGET ioctl. Will check that
Arun> out.

hdparm and the kernel are looking the same place for the physical block
size. There should be no discrepancy between what hdparm can see and
what's reported in physical_block_size by the kernel. The BLKPBSZGET
returns the same topology parameter as sysfs' physical_block_size.

--
Martin K. Petersen Oracle Linux Engineering


\
 
 \ /
  Last update: 2011-09-27 23:49    [W:0.081 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site