text / binary mounts (sorry)

Egor Duda deo@logos-m.ru
Sun Jun 4 06:35:00 GMT 2000


Hi!

Saturday, 03 June, 2000 Chris Faylor cgf@cygnus.com wrote:

CF> On Fri, Jun 02, 2000 at 04:41:27PM -0500, Parker, Ron wrote:
>>> Since the //h usage is deprecated, I'm not going to worry too 
>>> much about this.
>>
>>The larger point, IMHO, is that, 'echo Hello>//machine/sharename/filename'
>>also produces 7 bytes. This leads me to the question of, "How does one
>>default UNC file access to binary mode?"  I know it works if the UNC path is
>>mounted and you access it via the mount point, but what should happen when
>>going directly to the UNC path?

CF> Right now, the same thing happens as has happened for the last three or
CF> four years with cygwin.  It defaults to text mode.

btw,  do  you  think  there should be a way to control this. something
like CYGWIN=filebinmode ? if yes, i'm ready to submit a patch.

hmm,   "filebinmode"  seems  a  bit  confusing,  but  don't  see  more
descriptive word.

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19




More information about the Cygwin-developers mailing list