From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22982 invoked by alias); 26 Apr 2002 12:40:53 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 22930 invoked from network); 26 Apr 2002 12:40:47 -0000 Received: from unknown (HELO koeln.convey.de) (62.138.63.18) by sources.redhat.com with SMTP; 26 Apr 2002 12:40:47 -0000 Received: from ismene.koeln.convey.de (192.168.5.3) by koeln.convey.de with [XMail 1.8 (Win32/Ix86) ESMTP Server] id for from ; Fri, 26 Apr 2002 14:40:45 +0200 Date: Fri, 26 Apr 2002 06:57:00 -0000 From: "Gerrit P. Haase" Reply-To: "Gerrit P. Haase" Organization: Esse keine toten Tiere X-Priority: 3 (Normal) Message-ID: <1891228021481.20020426144004@familiehaase.de> To: cygwin-owner@cygwin.com, lau bella CC: cygwin@cygwin.com Subject: Re: bash create UNIX format under cygwin root, not for other directory? In-Reply-To: <20020426082743.9114.qmail@web20806.mail.yahoo.com> References: <20020426082743.9114.qmail@web20806.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg01482.txt.bz2 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/