Rajat Jain wrote:
Actually I was thinking that if it is possible to perform all the Disk IO operations using the BIOS routines, then why can't we write a SINGLE disk driver that will work with all the kinds of disks.
Because that would be incredibly slow. You could only have one I/O request in flight at a time, and the system could not run other processes while I/O was being done.
So all this seems like a bad idea ... or should I say TOTALLY IMPOSSIBLE?
It might be possible, but it is still a very bad idea :) -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs