This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: text / binary mounts (sorry)


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


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