Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.internals Subject: Re: SCO UNIX *double* device driver Message-ID: <6832@auspex.auspex.com> Date: 26 Mar 91 19:10:59 GMT References: <905@zeusa.UUCP> <1509@rascal.UUCP> Organization: Auspex Systems, Santa Clara Lines: 14 >#define fopen hvfopen >#define fclose hvfclose > : : > >Etc. for all required system calls, and then do in your function calls >what you want to do. Doesn't help very much if he doesn't have source to all programs that might want to use the virtual disk. Doesn't even help much if he *does*, because the programs generally won't access the disk directly, they'll do it through the file system; the file system just goes through the device driver switch, rather than specifically calling the routines from some particular driver, so a #define trick like that won't help, even if he *does* have the source to the OS kernel....