X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4B7EC148.8050809@bopp.net> Date: Fri, 19 Feb 2010 10:50:16 -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> <4B62FB30 DOT 3000909 AT bopp DOT net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 2/18/2010 6:40 AM, Marta Ghidella wrote: > Jeremy Bopp bopp.net> writes: >> >> 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 >> > > Hello Jeremy: > > I've just updated to cygwin 1.7.1 and had the same problem described here. > But couldn't get the solution... > > The key is in your paragraph, thet's very true. > > But, how do we do if we want the system mounts to be text? > System mounts cannot be modified by mount; I tried adding them to fstab, but the > operation is not allowed. The only mount specification in /etc/fstab which appears to be ignored is the one for /. I can't say why that is so, and I don't know a way around that fact. I think Corinna manages that. You have at least two possible workarounds available: 1) Set the SHELLOPTS environment variable to "igncr" so that Bash will ignore the DOS line endings, or 2) Create a new text mode mount and then use your scripts from that new mount. Option 1 is only good for Bash, so if you have other programs which choke on the DOS line endings, it's not going to work for you. Option 2 may require a process change for you, but it should work as long as your scripts live in the new mount and are referenced via that mount's path. -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