This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]