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 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: textmount/binmount issue Date: Wed, 26 Oct 2005 11:21:49 +0200 Message-ID: <3E1FDC960FE04A4E96892B9023622A4E046B5050@de010369.de.ina.com> From: "Lemke, Michael IZ/HZA-IOM" To: X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j9Q9M6A0023825 Igor Pechtchanski wrote: > On Fri, 21 Oct 2005, Lemke, Michael IZ/HZA-IOM wrote: > >> This is my current mount table: >> >> pc00626> mount -m >> mount -f -s -b "c:/MyStuff/cygwin/bin" "/usr/bin" >> mount -f -s -b "c:/MyStuff/cygwin/lib" "/usr/lib" >> mount -f -s -b "c:/MyStuff/cygwin" "/" >> mount -f -s -t -E "u:" "/u" >> mount -s -b --change-cygdrive-prefix "/" >> >> Note that /u is mounted textmode while the rest is binary. However, >> if I access files on /u they are binmode as well. But when I >> change the mode of the drive prefix to text then /u is also text. >> Seems like prefix is overwriting the explicit setting for /u. If >> the drive prefix is something else but /u is still there then /u >> is not affected by the prefix settings. Is this intended behavior? > > Looks like the cygdrive prefix takes precedence over explicit mounts. > This is arguably a bug. . > Corinna or Chris, care to comment? Thanks. After all those examples of clobbering mounts I wanted to bring the discussion back to my original problem. Setting cygdrive-prefix to / is of course another way to clobber the mount table and the most extreme but cygdrive is special. If you should decide it should behave as explained above then at least change the output of mount: pc00626> mount c:\MyStuff\cygwin\bin on /usr/bin type system (binmode) c:\MyStuff\cygwin\lib on /usr/lib type system (binmode) c:\MyStuff\cygwin on / type system (binmode) u: on /u type system (textmode) c: on /c type system (binmode,noumount) d: on /d type system (binmode,noumount) because it is plain wrong. Thanks, Michael -- 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/