delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/13/04:59:21

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 13 Feb 2009 10:58:59 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.0 /cygdrive text/binary behavior
Message-ID: <20090213095859.GP5416@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <EA7F98B74DA09B4F9A806BA0DA2B56FB05B08A92 AT ALPMLVEM14 DOT e2k DOT ad DOT ge DOT com>
MIME-Version: 1.0
In-Reply-To: <EA7F98B74DA09B4F9A806BA0DA2B56FB05B08A92@ALPMLVEM14.e2k.ad.ge.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 Feb 12 14:34, Garber, Dave (GE Infra, Energy, Non-GE) wrote:
> Hi,
> 
> I've been testing out the 1.7.0-40 release and noticed an odd behavior
> with /cygdrive.  Without any modifications, when I try to run a script
> from /cygdrive/v, I get errors due to the trail '\r' characters.  This
> is expected since /cygdrive/v is a binary mount.  So, I add an entry
> into fstab to make /cygdrive/v be a text mount:
> 
> V: /cygdrive/v netapp text 0 0

Ouch.  Don't do that.  This is not supported.  The mount options for
cygdrive drives is specified in the cygdrive mount point.  The default
settings if the cygdrive entry is not present in /etc/fstab is

  none /cygdrive cygdrive binary,posix=0 0 0
  
You can only change the options for all cygdrives at once by adding or
changing a cygdrive entry to /etc/fstab.  If you need to have different
setting, create distinct POSIX pathnames for the drive, like you did
here:

> V: /v netapp text 0 0 

I will change the documentation so that this is described in a bit more
detail.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019