delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/14/05:08:59

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
Date: Fri, 14 May 2004 12:08:41 +0300
From: Baurjan Ismagulov <ibr AT ata DOT cs DOT hun DOT edu DOT tr>
To: cygwin AT cygwin DOT com
Subject: Re: user-specific mounts
Message-ID: <20040514090839.GB19350@ata.cs.hacettepe.edu.tr>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20040513122250 DOT GA13116 AT ata DOT cs DOT hacettepe DOT edu DOT tr> <Pine DOT GSO DOT 4 DOT 56 DOT 0405131348100 DOT 16639 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.56.0405131348100.16639@slinky.cs.nyu.edu>
User-Agent: Mutt/1.5.4i
X-IsSubscribed: yes

--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello, Igor!

On Thu, May 13, 2004 at 01:50:33PM -0400, Igor Pechtchanski wrote:
> Create a system-owned shell (via "at <curtime+1> /interactive bash -i")
> and use "mount" to set up user mounts for the user "system".  You may need
> to remove the system mounts altogether, and just create user mounts for
> every potential Cygwin user, although the user mounts *should* take
> precedence over the system ones.

So, you mean HKCU is honored and should be read before HKLM, and this
may be a bug? I'll try your workaround and share the results.


> BTW, your report would have benefited *a lot* from you following the
> Cygwin problem reporting guidelines at <http://cygwin.com/problems.html>
> and attaching your cygcheck output...

The first question was whether such kind of setup was supposed to work
at all. Considering this a usage in a weird way, rather than a user
problem, I left the details for the second iteration. Sorry if I
prevented you from providing premium support :) , will do my best to
avoid this in the future.

Such a question arose after I had not been able to find a statement in
the user manual regarding this issue; I'm pretty sure you will show it
to me :) , but all I could find was the following:

   The mapping is stored in the current user's Cygwin mount table in the
   Windows registry so that the information will be retrieved next time the
   user logs in. Because it is sometimes desirable to have system-wide as
   well as user-specific mounts, there is also a system-wide mount table that
   all Cygwin users inherit.

So I was not sure whether HKCU was supposed to override HKLM, or whether
the HKLM entries were mounted first, and directories in HKCU that were
still not mounted were mounted afterwards.

As to cygcheck: seems that I screwed the installation. Cygcheck aborts
saying "'id' program not found", although it is present under
/cygdrive/c/cygwin/bin. The output is attached, but I doubt it would
help. Should I send you the output of a specific command, or set the
root to c:\cygwin and re-run cygcheck?


With kind regards,
Baurjan.

--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="cygcheck.out"


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri May 14 10:39:14 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:	c:\tmp\lokal_admin\bin
	C:\opt\med\usr\local\bin
	C:\opt\med\usr\local\sbin
	g:\cygwin\bin
	g:\cygwin\usr\bin
	g:\cygwin\sbin
	g:\cygwin\usr\sbin
	g:\WINDOWS\system32
	g:\WINDOWS
	g:\WINDOWS\System32\Wbem
	g:\Program Files\Hummingbird\Connectivity\8.00\Accessories\
	g:\Program Files\Hummingbird\Connectivity\8.00\NFSServer\


--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii

--
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/
--GvXjxJ+pjyke8COw--

- Raw text -


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