Neo wrote:
Also how do Virtual Drivers work, I'm referring to programs such as Virtual CD, CD Ghost etc for Windows 9X/XP
You mean, accessing a hard drive file as if it were a CD-ROM?
The driver architecture is usually multi-leveled. For example, there was a tool for AmigaOS that allowed to virtually "write" to plain CD-ROM: On the filesystem level, it registered a new (logical) "device" (the "writeable" CD-ROM, think "drive letter" if you like). On the access level, it handled write access by writing files to hard drive, and read accesses by reading from CD-ROM unless the file in question was previously "written" to hard drive.
You see that there isn't even any
real device driving involved; all that this "virtual CD driver" does is smartly
delegating things.
The only real
device stuff to be done is translating the generic read / write calls into whatever the
hardware understands. Higher logic (like the "virtual CD" I described) can be done well inside user-land.
Quote:
btw does linux have some such programs?
Check the web or other favourite source of info for "loopback device".