This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Wrong/ inconsistent responses from diff


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 <prefix><drive letter>)

[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@freemail.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]