On Mon, 2006-01-30 at 04:21 +0530, Libin Varghese wrote: > Hi all, > For most the Rotational Latency Reducing algorithms (SATF-Shortest > Access Time First) > <www.hpl.hp.com/research/ssp/papers/HPL-CSP-91-7rev1.pdf> we need to > know the Disk Head Position. Is there an API to find this? Mostly this > kind of API stuff most be given by the disk device driver. So does the > Hard Disk Driver in Linux provide such an API? that is at the wrong level. the block layer keeps a guestimate of where the head is based on which IO's it started/got completed, and those are used in the IO scheduler to optimize seeks and such. But the hardware in general does not have such information available. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/