delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/21/15:24:55

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: new install of cygwin with pdksh doesn't work
References: <20001221142746 DOT 5476 DOT qmail AT web120 DOT yahoomail DOT com>
From: dkarr AT tcsi DOT com (David M. Karr)
Date: 21 Dec 2000 12:15:08 -0800
In-Reply-To: Earnie Boyd's message of "Thu, 21 Dec 2000 06:27:46 -0800 (PST)"
Message-ID: <uyitod5y5v.fsf@tcsi.com>
Lines: 50
User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6
MIME-Version: 1.0

>>>>> "Earnie" == Earnie Boyd <earnie_boyd AT yahoo DOT com> writes:
  Earnie> --- "David M. Karr" <dkarr AT tcsi DOT com> wrote:
  >> 
  >> I don't understand the option of setting text mode mount points.  I
  >> have no idea what the ramifications of that would be.

  Earnie> Sigh.  How long have you been on this list?  I'll now suggest that you refer to
  Earnie> the documentation, FAQ and mail archives for which you can find URL pointers at
  Earnie> http://cygwin.com.

Ok, after reading the user's guide, I did the following on the new
system:

   mount -t d: /d

After this, the output of "mount" is the following:

    Device              Directory           Type         Flags
    d:\cygwin\bin       /usr/bin            system       binmode
    d:\cygwin\lib       /usr/lib            system       binmode
    d:\cygwin           /                   system       binmode
    d:                  /d                  user         textmode

I now find that my original .bash* files work fine, even with ^Ms.

Is this the correct solution for this?  All of the files I create will
be stored on the D: partition, but I guess any files that I read from
directories which map to the three "binmode" mounts will be
interpreted differently.  I don't know how much of an issue that is.

The mount table from the original installation just has the first
three, with the only difference being the "Type" is "user" instead of
"system".  From my reading of the UG, that shouldn't matter.

I guess this means that the default mode for unmapped directories is
"text" on my original installation, and "binary" for the second
installation.  Since directories like "d:/dmk" (my home directory) are
not covered by the original mount table, I would get the default.

So, when I install it again, if I select the "DOS" text file type, I
won't have to add this mount to get files on the "D:/" drive to use
DOS text file mode, correct?

What exactly in the "cygcheck" output (or any other place, for that
matter) tells me what the default text file type is?

-- 
===============================================================================
David M. Karr     ; dkarr AT tcsi DOT com  ; w:(425)487-8312 ; TCSI & Best Consulting
Software Engineer ; Unix/Java/C++/X ; BrainBench CJ12P (#12004)


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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