title: Reading Hard Disk Sectors in C++ on Linux
body: <p>How do you read hard disk sectors in C++ with gcc/linux? Is there a standard library that I can use or must something be downloaded? In Windows I can use CreateFile(...) to access raw disk sectors, but I do not know how to do in in Linux. </p>
  
  <p>I am using GCC on Ubuntu LTS 10.4. Thank you for your help.</p>