This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: new install of cygwin with pdksh doesn't work


>>>>> "Earnie" == Earnie Boyd <earnie_boyd@yahoo.com> writes:
  Earnie> --- "David M. Karr" <dkarr@tcsi.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@tcsi.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]