Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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-Info: This message was accepted for relay by smtp03.mrf.mail.rcn.net as the sender used SMTP authentication X-Trace: UmFuZG9tSVazXKloyiZSMQZ3d3mgmCEep1rI69RW1kg3N+mFxyMZERD6zHOKul94 Message-ID: <3ECCEC06.6050606@rfk.com> Date: Thu, 22 May 2003 11:25:58 -0400 From: "Larry Hall (RFK Partners, Inc.)" Reply-To: lhall AT rfk DOT com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Mount table in registry References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Igor Pechtchanski wrote: > 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 >>> >>>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? This is outrageuos! What right do you have to suggest such a thing? You should be boiled in oil!!! OK, so I started with a flame. Now I'll comment. ;-) Seems like a fine idea to me. IIRC, there have been similar suggestions in the past, mostly surrounding the needs of setup. But there's no reason such a library couldn't support a wider range of apps. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/