public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* bash create UNIX format under cygwin root, not for other directory?
@ 2002-04-26  1:49 lau bella
  2002-04-26  6:57 ` Gerrit P. Haase
  0 siblings, 1 reply; 2+ messages in thread
From: lau bella @ 2002-04-26  1:49 UTC (permalink / raw)
  To: cygwin

Hi all,

I installed cygwin 1.3.10 in w2k c:\cygwin. I set
CYGWIN=binmode tty mode, mount:

c:\cygwin\bin on /usr/bin type system (binmode)
c:\cygwin\lib on /usr/lib type system (binmode)
c:\cygwin on / type system (binmode)
c: on /cygdrive/c type system (binmode)

I create home directory in c:\cygwin\home and run
"bash " script (echo somethings to output file), the
output file is in UNIX format correctly.

I create another home directory in c:\data\home and
run the same "bash" script, the output file is in DOS
format.

From previous post, i think the output file should be
in UNIX format if the mount point are in binmode. 

I would like know whether "bash" generates output file
in UNIX format under cygwin root only.

thanks a lot :)

bella


_______________________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bash create UNIX format under cygwin root, not for other directory?
  2002-04-26  1:49 bash create UNIX format under cygwin root, not for other directory? lau bella
@ 2002-04-26  6:57 ` Gerrit P. Haase
  0 siblings, 0 replies; 2+ messages in thread
From: Gerrit P. Haase @ 2002-04-26  6:57 UTC (permalink / raw)
  To: cygwin-owner, lau bella; +Cc: cygwin

Hi Bella,

> I installed cygwin 1.3.10 in w2k c:\cygwin. I set
> CYGWIN=binmode tty mode, mount:

> c:\cygwin\bin on /usr/bin type system (binmode)
> c:\cygwin\lib on /usr/lib type system (binmode)
> c:\cygwin on / type system (binmode)
> c: on /cygdrive/c type system (binmode)

> I create home directory in c:\cygwin\home and run
> "bash " script (echo somethings to output file), the
> output file is in UNIX format correctly.

> I create another home directory in c:\data\home and
> run the same "bash" script, the output file is in DOS
> format.

> From previous post, i think the output file should be
> in UNIX format if the mount point are in binmode. 

Yes, but c:\data\home isn't mounted as your mount table shows.

> I would like know whether "bash" generates output file
> in UNIX format under cygwin root only.

One can say so.  If you mount the path to be under cygwinroot
(and it needs to be in binmode), then the files written there
are in binmode too.


Gerit
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-26 12:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-26  1:49 bash create UNIX format under cygwin root, not for other directory? lau bella
2002-04-26  6:57 ` Gerrit P. Haase

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).