Thread: Intercepting I/O requests

  1. #1
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640

    Intercepting I/O requests

    Hey people, I'm thinking about potential projects for a course and i need an opinion.

    How difficult would it be to intercept all I/O requests going to a physical device (ie. insert a layer between the host processes and physical storage devices). Some software layer that could schedule I/O requests going to the physical device.

    I've never done this type of low level application, I'm just looking for a general idea of what's involved to accomplish something like this.

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Tricky, very tricky. For individual applications, it's somewhat possible: you can wrap up apps and replace some dev files with your own just for them. I don't know how, but both arts and esd have tools that emulate oss this way.
    For the whole system, though, I think you need to hack the kernel.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    hmmm, kernel hacking would be bad. Anyway, I've decided to go with a different project anyway. Thanks for the input

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Buffered/UnBuffered I/O
    By valaris in forum C Programming
    Replies: 1
    Last Post: 08-06-2008, 11:31 PM
  2. asynchronized I/O == multiplexing I/O?
    By George2 in forum C Programming
    Replies: 1
    Last Post: 07-24-2006, 10:06 AM
  3. why page based I/O can improve performance?
    By George2 in forum C Programming
    Replies: 1
    Last Post: 06-12-2006, 07:42 AM
  4. Writing all HTTP requests from a website to a log file
    By goomyman in forum C# Programming
    Replies: 1
    Last Post: 07-29-2005, 09:18 AM
  5. Overlapped I/O and Completion Port :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 10-30-2002, 05:14 PM