[<prev] [next>] [day] [month] [year] [list]
Message-ID: <yq1pqdea8vo.fsf@sermon.lab.mkp.net>
Date: Thu, 16 Feb 2012 14:14:19 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Arun <engineerarun@...il.com>
Cc: NamJae Jeon <linkinjeon@...il.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Mark Knecht <markknecht@...il.com>,
Joshua Scoggins <theoretically.x64@...il.com>,
Mike Snitzer <snitzer@...il.com>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
linux-kernel@...r.kernel.org
Subject: Re: Detection of Advanced Format drives
>>>>> "Arun" == Arun <engineerarun@...il.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
--
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