Mail Archives: djgpp/1996/01/29/05:45:04
On Tue, 23 Jan 1996, Malcolm Taylor wrote:
> It is much harder than you may think. DOS doesn't seem to have any way
> to reliably check for drives, but I have managed to piece together a
> fairly good system from the Ralph Brown interrupt list (if you haven't
> already got this then ftp it from simtel).
The v2.0 library has an implementation of `getmntent' function which
reports all the valid drives with some info about each one of them (like
their type, device number, etc.). Works for all kinds of drives we could
check it with (nfs, novell, cd-rom, ram, compressed, floppies, fixed).
- Raw text -