delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/15/07:23:40

Date: Tue, 15 Oct 1996 13:06:04 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Tim Gunn <timgunn AT eastwind DOT livewire DOT com DOT au>
Cc: djgpp AT delorie DOT com
Subject: Re: Drive Help
In-Reply-To: <326331f8.0@paula.livewire.com.au>
Message-Id: <Pine.SUN.3.91.961015130253.19845A-100000@is>
Mime-Version: 1.0

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)?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019