This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: text / binary mounts (sorry)
- To: "'cygwin at sourceware dot cygnus dot com'" <cygwin at sourceware dot cygnus dot com>
- Subject: Re: text / binary mounts (sorry)
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Fri, 2 Jun 2000 14:28:16 -0400
- References: <200006021734.KAA06876@cygnus.com>
- Reply-To: cygwin at sourceware dot cygnus dot com
On Fri, Jun 02, 2000 at 12:30:31PM -0500, Parker, Ron wrote:
>> > > set CYGWIN=binmode causes even unmounted directories and
>> files to be
>> > > accessed in binary mode. You can set this in autoexec.bat
>> > for Win9x or in
>> > > the System Control Panel applet for NT/2000.
>> > >
>> >
>> > Are you sure of this, Ron? AFAIK CYGWIN=binmode only affects
>> > the pipes and
>> > redirection and not file I/O. BTW CYGWIN=binmode is the default.
>>
>> ITIWTW, I thought it worked that way, however a quick test
>> shows I am wrong. I would have sworn CYGWIN=binmode used to
>> apply to all file opens.
>>
>> Sorry for the confusion.
>
>So is there anyway to have 'echo Hello>//h/junk' produce a 6-byte file?
Yes. You use the mount command that was mentioned previously in this thread.
cgf
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com