This is the mail archive of the cygwin 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]

[PATCH] RE: 1.5.16: Filename case sensitivity problem


----Original Message----
>From: Christopher Faylor
>Sent: 29 April 2005 15:46

> On Thu, Apr 28, 2005 at 08:10:07PM -0700, Brian Dessent wrote:
>> Zhuang Jianmin wrote:
>> 
>>> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/src
>>>   (default) = `e:\cygwin\usr\src'
>>>   flags = 0x0000080a
>> 
>> This mount is a managed mount.  The MOUNT_ENC bitflag is 0x800...
>> 
>>> e:\cygwin\usr\src  /usr/src   system  binmode
>> 
>> ...although it appears that cygcheck does not report this flag in its
>> output.  Still, if you run "mount -m" it should show the option "-o
>> managed" next to the command that would create that mount.  You can find
>> more information on the -o flags that mount takes in "man mount".
>> 
>> I am not sure how this mount came to be if you did not create it.  I was
>> under the impression that neither setup.exe nor any packages enable
>> managed mounts.  It looks like that is not the case.
> 
> Anyone want to submit a patch which ensures that all of the mount flags
> are represented correctly by cygcheck?
> 
> cgf

  This seems to do the required job:

dk@mace /usr/build/obj> diff -pu before.txt after.txt
--- before.txt  2005-04-29 16:12:27.368392200 +0100
+++ after.txt   2005-04-29 16:12:51.960872200 +0100
@@ -1,6 +1,6 @@

 Cygwin Configuration Diagnostics
-Current System Time: Fri Apr 29 16:12:17 2005
+Current System Time: Fri Apr 29 16:12:44 2005

 Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

@@ -174,11 +174,11 @@ t:  net NTFS     69858Mb  64% CP CS    P
 z:  net NTFS    409464Mb   1% CP CS    PA        dkbackup

 D:                                 /home/dk/L                user
binmode
-T:                                 /win/t                    user
binmode
+T:                                 /win/t                    user
binmode,noexec
 C:\cygwin                          /                         system
binmode
 C:\artimi.src\artimi               /artimi                   system
binmode
 C:\artimi.src\davek                /davek                    system
binmode
-C:\managed                         /managed                  system
binmode
+C:\managed                         /managed                  system
binmode,managed
 C:\artimi.src                      /repository               system
binmode
 C:\artimi.src\davek\test           /test                     system
binmode
 C:\cygwin/bin                      /usr/bin                  system
binmode
@@ -188,7 +188,7 @@ C:                                 /win/
 D:                                 /win/d                    system
binmode
 E:                                 /win/e                    system
binmode
 F:                                 /win/f                    system
binmode
-O:                                 /win/o                    system
binmode
+O:                                 /win/o                    system
binmode,noexec
 C:\Program Files                   /win/ProgramFiles         system
binmode
 C:                                 /win/textmode/c           system
textmode
 .                                  /cygdrive                 system
binmode,cygdrive
dk@mace /usr/build/obj>

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

Attachment: cygcheck-mountflags-patch.diff
Description: Binary data

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

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