Messages in this thread | | | Subject | Re: Detection of Advanced Format drives | From | "Martin K. Petersen" <> | Date | Thu, 16 Feb 2012 14:14:19 -0500 |
| |
>>>>> "Arun" == Arun <engineerarun@gmail.com> writes:
Arun> [...] couldn't find any direct way of detecting an SSD drive like Arun> an ioctl.
Arun> Is there any such direct way of detecting SSD drives yet? I am Arun> working on kernel version 2.6.32-19.
You can check /sys/block/foo/queue/rotational.
The matching BLKROTATIONAL ioctl didn't go in until very recently.
-- Martin K. Petersen Oracle Linux Engineering
| |