X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4B62FB30.3000909@bopp.net> Date: Fri, 29 Jan 2010 09:13:52 -0600 From: Jeremy Bopp User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: File format problem after updatin to 1.7.1 References: <8CCC8F85C5F2784387A32FAD835FB4E602DA8EE5F9 AT server03> <4B62F2EA DOT 3040208 AT bopp DOT net> <416096c61001290707j3250273alcb439fdb8760e38a AT mail DOT gmail DOT com> In-Reply-To: <416096c61001290707j3250273alcb439fdb8760e38a@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 1/29/2010 9:07 AM, Andy Koppe wrote: > Jeremy Bopp: >> DEWI - N. Zacharias: >>> i have just updated to 1.7.1 an run in trouble. During the previous installations there was a switch which sets the used file format Dos/Unix. This switch did not only disappear also the former uses file format (DOS) was set to Unix underhand . The result is that a lot of scripts did not work anymore because they produce a bunch of lines " bash: $'\r': command not found" instead of the expected output. I'm not able to filter all the scripts and files to remove the DOS line separator so I have to set the file format correctly. >>> >>> As far I can see there is no topic in the user manual which covers this issue also nothing in the FAQ. >> >> http://cygwin.com/cygwin-ug-net/using.html#using-pathnames >> >> Among other things that section discusses the /etc/fstab file and the >> mount options available, two of which are "binary" and "text". You need >> to add entries to your /etc/fstab file for at least the paths which >> contain your files, likely /cygdrive/c or something similar, which set >> the "text" mount option. Using your cygdrive as an example: >> >> none /cygdrive cygdrive text,posix=0,user 0 0 > > Also, there's this at the top of http://www.cygwin.com: > > "Please note that the update from Cygwin 1.5.x to Cygwin 1.7.x might > require some manual changes afterwards. Most notably the mount point > storage has been moved out of the registry into files. User mount > points are NOT copied into the new user-specific /etc/fstab.d/$USER > file. Rather, every user has to call the /bin/copy-user-registry-fstab > shell script once after the update." I've not used that script before, but from that text it seems that the script can only migrate user mounts, not system mounts. I get the impression that this problem is resulting from system mounts going binary. -Jeremy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple