Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Shankar Unni <shankar@cotagesoft.com>
Subject: Re: [Proposal] Moving user mount information to HKLM
Date: Fri, 27 Sep 2002 10:45:26 -0700
Lines: 18
Message-ID: <3D949936.8050002@cotagesoft.com>
References: <000b01c265df$b61ef630$4501a8c0@scrapbox>
NNTP-Posting-Host: adsl-64-165-207-58.dsl.snfc21.pacbell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: main.gmane.org 1033148750 19730 64.165.207.58 (27 Sep 2002 17:45:50 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Fri, 27 Sep 2002 17:45:50 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (Compact)
X-Accept-Language: en-us, en

On 9/26/2002 9:38 PM, Doru Carastan wrote:

> How about breaking free from using the windoze registry.  There is
> absolutely no special need to use it IMO.  All the mount info can
 > be stored in a plain ASCII file like 'cygwin.cfg'.   As part of its
 > initialization the cygwin1.dll can use GetModuleFileName() to figure
 > out from where it was loaded and attempt to parse a possible config
 > file located in the same dir with it.

This doesn't work so good if the user doesn't have write permissions to 
the "bin" directory - where would the user mounts go?

So then you'd need one "system mount file" (like above), and one "user 
mount file" per user. And where would that go? Especially if you have to 
do a user mount to get to the user's home directory in the first place?
--
Shankar.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

