Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Dave Korn" To: Subject: [PATCH] RE: 1.5.16: Filename case sensitivity problem Date: Fri, 29 Apr 2005 16:15:01 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0046_01C54CD6.98AD8C70" In-Reply-To: <20050429144627.GE7328@trixie.casa.cgf.cx> Message-ID: X-OriginalArrivalTime: 29 Apr 2005 15:14:37.0170 (UTC) FILETIME=[28389D20:01C54CCE] Note-from-DJ: This may be spam ------=_NextPart_000_0046_01C54CD6.98AD8C70 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ----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 AT 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 AT mace /usr/build/obj> cheers, DaveK -- Can't think of a witty .sigline today.... ------=_NextPart_000_0046_01C54CD6.98AD8C70 Content-Type: application/octet-stream; name="cygcheck-mountflags-patch.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="cygcheck-mountflags-patch.diff" Index: path.cc =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/src/src/winsup/utils/path.cc,v retrieving revision 1.8 diff -p -u -r1.8 path.cc --- path.cc 11 Sep 2003 02:00:42 -0000 1.8 +++ path.cc 29 Apr 2005 15:12:30 -0000 @@ -343,6 +343,10 @@ getmntent (FILE *) strcat (mnt.mnt_opts, (char *) ",cygexec"); else if (m->flags & MOUNT_EXEC) strcat (mnt.mnt_opts, (char *) ",exec"); + else if (m->flags & MOUNT_NOTEXEC) + strcat (mnt.mnt_opts, (char *) ",noexec"); + if (m->flags & MOUNT_ENC) + strcat (mnt.mnt_opts, ",managed"); if ((m->flags & MOUNT_CYGDRIVE)) /* cygdrive */ strcat (mnt.mnt_opts, (char *) ",cygdrive"); mnt.mnt_freq =3D 1; ------=_NextPart_000_0046_01C54CD6.98AD8C70 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/ ------=_NextPart_000_0046_01C54CD6.98AD8C70--