X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Message-ID: <4C73C53C.7060004@bonhard.uklinux.net> Date: Tue, 24 Aug 2010 14:12:28 +0100 From: Fergus User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: fergus AT bonhard DOT uklinux DOT net Subject: Re: Wrong/ inconsistent responses from diff Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 >> Would you mind to paste the file content of /etc/fstab and, if it >> exists, /etc/fstab.d/$USER into your reply? > Oh and, btw., could you please test if this still occurs with the > latest developer snapshot from http://cygwin.com/snapshots/ Thanks as usual for taking an interest and trying to help with this. I have identified where the strange behaviour is induced on my system: ~> mount -p Prefix Type Flags /cygdrive user binmode ~> mount -c "/" ~> mount -p Prefix Type Flags / user textmode The change from binmode to textmode seems to be induced by the command mount -c "/" which I issue because I do not like having to use the longhand /cygdrive. I missed this in earlier posts because the line mount -c "/" is usually part of my ~/.bashrc and I'd forgotten it was there. The phenomenon occurs with cygwin-1.7.6 and the current snapshot cygwin-1.7.6s (20100822) but it did not occur with cygwin-1.7.5. Any luck mimicking this? Here is where it gets awkward: I don't have a /etc/fstab or /etc/fstab.d/$USER. I think I never had the latter and lost the former at some point. Not having it, didn't seem to matter. And, sorry, I can't even remember what it's for: even the sparsest system seems to have ~> mount M:/bin on /usr/bin type vfat (binary,auto) M:/lib on /usr/lib type vfat (binary,auto) M: on / type vfat (binary,auto) (or equivalent) hardwired. (The command umount with any arguments seems more or less ineffective?) Any luck mimicking this if you temporarily rename your /etc/fstab? As you can see (awkwardness #2?) I operate exclusively from the root of a portable drive. So possibly one or both eccentricities contributes to the unwelcome mode change: but, as I say, it never occurred with cygwin-1.7.5. What does your /etc/fstab say? Maybe I should use it and report back. But as a lover of sparse systems it's a pain to introduce even 1 file where previously 0 files did the trick. Thank you. Fergus -- 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