Cygwin 1.7.0 2009年05月18日 snapshot text mounts
Christopher Faylor
cgf-use-the-mailinglist-please@cygwin.com
Tue May 19 00:45:00 GMT 2009
On Mon, May 18, 2009 at 08:33:09PM -0400, Christopher Faylor wrote:
>On Mon, May 18, 2009 at 05:23:31PM -0700, Karl M wrote:
>>>>> Date: 2009年5月18日 20:04:10 -0400
>>> From: cgf
>>> Subject: Re: Cygwin 1.7.0 2009年05月18日 snapshot text mounts
>>>>>> On Mon, May 18, 2009 at 04:21:49PM -0700, Karl M wrote:
>>>>>>>>Hi All...
>>>>>>>>I am using the Cygwin-1.7.0 2009年05月18日 snapshot on a Vista Business SP1 box.
>>>>>>>>The following is my fstab contents
>>>>>>>>none / cygdrive text,noacl,posix=0 0 0
>>>>>>>>If I create a file with
>>>>>>>>cat some-file> /c/Users/me/Desktop/file.txt
>>>>>>>>I get Unix line endings. If I use Cywgin vim to create
>>>>>>>>/c/Users/me/Desktop/zzz.txt
>>>>>>>>I also get unix line endings.
>>>>>>>>A cygcheck is attached.
>>>>>> Please go back and read Corinna's release announcement and pay
>>> particular attention to the discussion about the root directory.
>>>>>> http://cygwin.com/ml/cygwin-announce/2009-05/msg00017.html
>>>>>OK I reread...I'm not sure what you wanted me to see. I am creating a cygdrive entry in my fstab and it is being accepted, it just doesn't seem to honor the text attribute.
>>I guess I was assuming that since you're essentially conflating / with
>cygdrive you might have to either mount / as text and override it or use
>the override option for the cygdrive entry too but, on reflection, that
>shouldn't be the case.
>>You're combining my two of my least favorite things: text mode and
>overriding /cygdrive with / but I'll take a look nonetheless.
I did find a bug in the recent handling of root but it doesn't appear
to have any effect on this behavior.
If I use echo to create files in /c with a /etc/fstab similar to the
above, I get \r\n line endings. I'm sure Eric will correct me but I
don't believe that cat can be used to convert from binary to text. vim
also has a mode to create dos line endings.
cgf
--
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/
More information about the Cygwin
mailing list