delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/26/08:52:09

From: fjh AT cs DOT mu DOT OZ DOT AU (Fergus Henderson)
Subject: Re: Mount table
26 May 1997 08:52:09 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199705260816.SAA09641.cygnus.gnu-win32@murlibobo.cs.mu.OZ.AU>
Original-To: pete AT horus DOT cix DOT co DOT uk
Original-Cc: gnu-win32 AT cygnus DOT com (Cygnus GNU-win32 mailing list)
In-Reply-To: <memo.19970526010905.49047A@horus.cix.co.uk> from "Pete Jordan" at May 26, 97 01:09:00 am
X-Mailer: ELM [version 2.4 PL24]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Pete Jordan, you wrote:
> 
> Is there any way of getting at the mount table from a C program (other than
> by looking at the registry or actually running 'mount')?

Yes.  See the source code for mount.
It is in winsup/util/mount.cc in the source code distribution.

-- 
Fergus Henderson <fjh AT cs DOT mu DOT oz DOT 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 AT 128 DOT 250 DOT 37 DOT 3         |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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