This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: A call to find mounted dirs?
- To: kunglao at prairienet dot org
- Subject: Re: A call to find mounted dirs?
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- Date: Wed, 21 May 1997 23:49:17 +1000 (EST)
- Cc: gnu-win32 at cygnus dot com (Cygnus GNU-win32 mailing list)
kunglao@prairienet.org, 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 <fjh@cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".