delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/22/11:12:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 22 May 2003 11:12:25 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Mount table in registry
In-Reply-To: <20030522142614.GN19367@cygbert.vinschen.de>
Message-ID: <Pine.GSO.4.44.0305221107210.7611-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Thu, 22 May 2003, Corinna Vinschen wrote:

> On Thu, May 22, 2003 at 04:12:37PM +0200, Sebastian Miele wrote:
> > Hi,
> >
> > the user documentation on the mount table
> > (http://cygwin.com/cygwin-ug-net/using.html#MOUNT-TABLE) says that the
> > mount table is located under:
> >
> >   HKEY_CURRENT_USER/Software/Red Hat, Inc./Cygwin/mounts v<version>
> >
> > However, on my system it is located under:
> >
> >   HKEY_CURRENT_USER/Software/Cygnus Solutions/Cygwin/mounts v2
> >
> > Most probably the documentation has not been updated, yet.
> >
> > How likely is it that either the version (2) or the company (Red Hat,
> > Inc./Cygnus Solutions) changes in the future?
>
> 100%
>
> Use mount.  Never rely on the registry.
> Corinna

Corinna and others,

This is becoming an FAQ, so I'm going to feel the waters here...  Would
making a libmount.a (or, better yet, cygmount.dll) be a good idea?  Then
programs can link against it and be guaranteed that they can read mounts
or verify mount locations.  I know Cygwin exports getmntent() and the
like, but the above would be something that doesn't depend on cygwin1.dll.
Setup.exe could then use it as well (although then it'd have to be a
static lib).  Comments, flames?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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