title: Emulate a hard drive in Linux
body: <p>I have developed a FUSE-based file system as part of a research project and now have to study the actual read/write requests that are received by the hard drive. In an attempt to do this, I am looking at the option of creating a virtual Hard Drive in linux, that will intercept the requests being generated by the file system and log them.</p>
  
  <p>Are there any resources available on the internet that can help me write the emulator and/or develop the skill sets needed to write one? I am currently reading the Linux Device Drivers 3 book to get an idea of how Linux manages block devices.</p>
  
  <p>Any help is appreciated.</p>
  
  <p>Thanks</p>