delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/27/13:46:58

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
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Shankar Unni <shankar AT cotagesoft DOT 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 AT scrapbox>
NNTP-Posting-Host: adsl-64-165-207-58.dsl.snfc21.pacbell.net
Mime-Version: 1.0
X-Trace: main.gmane.org 1033148750 19730 64.165.207.58 (27 Sep 2002 17:45:50 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT 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/

- Raw text -


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