Date: Tue, 15 Oct 1996 13:06:04 +0200 (IST) From: Eli Zaretskii To: Tim Gunn Cc: djgpp AT delorie DOT com Subject: Re: Drive Help In-Reply-To: <326331f8.0@paula.livewire.com.au> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 15 Oct 1996, Tim Gunn wrote: > I am in serious need of a quick way to check what drives are > available, I know of using mntent.h, but this checks if the drive is > currently valid, this is no use for floppy drives. All I want is a > quick way to detect available drives. It would help if you explain a bit more what do you mean by ``available drives'' as opposed to ``valid drives'' reported by `getmntent', and why do you think `getmntent' is ``no use for floppy drives''. Do you maybe want to know if there is drive a: even if it is empty (i.e. without a floppy inside)?