delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/08/16:21:01

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
Message-ID: <3CB1FB40.3050703@cdt.luth.se>
Date: Mon, 08 Apr 2002 22:19:12 +0200
From: James Nord <teilo AT cdt DOT luth DOT se>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.9) Gecko/20020311
X-Accept-Language: en-gb, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: [bug?] binary mount point option in setup

Hi,

I apear to have found a bug in cygwins setup program 2.125.2.10

Description:

When installing as administrator on XP if you select install for 
everyone and set the default file format to be unix then the /cygdrive 
mount point will be binary mode when running as the administrator user.

mounts are stored in HLKM, however /cygdrive mounts and defaults are 
stored in HKCU
(see below.)

So when a user (not administrator) comes to use the cygwin tools 
/cygdrive is mounted text not binary.

Why does cygwin store the /cygdrive default in HKCU and not HKLM when 
installing as multiuser?
why not store the info in HKLM along with the other mount options?

Also I couldn't find a way to change the options without running setup 
or regedit again.
full drives can be changed with the mount command but /cygdrive only?

[HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2]
"cygdrive prefix"="/cygdrive"
"cygdrive flags"=dword:00000022

[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2]

[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/]
"native"="C:/cygwin"
"flags"=dword:0000000a

[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home]
"flags"=dword:0000000a
"native"="d:\\homes"

[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin]
"native"="C:/cygwin/bin"
"flags"=dword:0000000a

[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib]
"native"="C:/cygwin/lib"
"flags"=dword:0000000a



--
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