Subject: Re: A call to find mounted dirs?
From: [email-masked] (Fergus Henderson)

21 May 1997 15:19:47 -0700
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Content-Type: text
Original-To: [email-masked]
Original-Cc: [email-masked] (Cygnus GNU-win32 mailing list)
In-Reply-To: <[email-masked]> from "[email-masked]" at May 20, 97 04:40:37 pm
X-Mailer: ELM [version 2.4 PL24]
Original-Sender: [email-masked]

[email-masked], you wrote:
> 
> Is there any gnu-win32 functions that I can use to get the list of 
> mounted dirs, and their DOS paths?

Yes, setmntent() and getmntent(). See the show_mount() function in
winsup/utils/mount.cc for an example.

Or alternatively, you could just use system("mount").

-- 
Fergus Henderson <[email-masked]>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger [email-masked]         |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".