This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Wrong/ inconsistent responses from diff
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 24 Aug 2010 17:16:41 +0200
- Subject: Re: Wrong/ inconsistent responses from diff
- References: <4C73C53C.7060004@bonhard.uklinux.net>
- Reply-to: cygwin at cygwin dot com
On Aug 24 14:12, Fergus wrote:
> >> 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 "/" [...]
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.
> 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.
Since it's auto-generated, you must have deleted it.
> Not having it, didn't seem to matter. And,
> sorry, I can't even remember what it's for:
That's what a User's Guide is for:
http://cygwin.com/cygwin-ug-net/using.html#mount-table
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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