X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=3.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT X-Spam-Check-By: sourceware.org Date: Tue, 24 Aug 2010 22:24:34 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <538268579.20100824222434@mtu-net.ru> To: Corinna Vinschen Subject: Re: Wrong/ inconsistent responses from diff In-Reply-To: <20100824151641.GT6726@calimero.vinschen.de> References: <4C73C53C DOT 7060004 AT bonhard DOT uklinux DOT net> <20100824151641 DOT GT6726 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Greetings, Corinna Vinschen! >> The change from binmode to textmode seems to be induced by the >> command mount -c "/" [...] > Found it. The method to compute the mount flags from the options > given to the mount(1) command have been changed and accidentally the > default is 0, instead of MOUNT_BINARY. Fixed in CVS. For the time > being, the workaround is to set the mount option explicitely: > mount -o binary,... -c / > or, which is much less error-prone in the long run, to create a cygdrive > mount in /etc/fstab. As expected, not working. At least, not in the way I (and OP) want it. There must be either less strict check against -t cygdrive "mount point", or a completely separate means to define cygdrive prefix, since it's not actually a mount point. (The mount points will be ) [C:\Programs\CygWin\etc]$cat /etc/fstab && mount # For a description of the file format, see the Users Guide # http://cygwin.com/cygwin-ug-net/using.html#mount-table # This is default anyway: # none /cygdrive cygdrive binary,posix=0,user 0 0 none / cygdrive binary,posix=0,user,noacl 0 0 C:/Programs/CygWin/bin on /usr/bin type ntfs (binary,auto) C:/Programs/CygWin/lib on /usr/lib type ntfs (binary,auto) C:/Programs/CygWin on / type ntfs (binary,auto) C: on /cygdrive/c type ntfs (binary,noacl,posix=0,user,noumount,auto) R: on /cygdrive/r type iso9660 (binary,noacl,posix=0,user,noumount,auto) -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 24.08.2010, <22:19> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple