delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/18/17:04:05

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
From: "Cheuk Cheng" <cheng AT powertv DOT com>
To: "Peter Buckley" <peter DOT buckley AT cportcorp DOT com>, <cygwin AT cygwin DOT com>
Subject: RE: mounts in gnupro99r1p1
Date: Wed, 18 Jul 2001 13:59:40 -0700
Message-ID: <NEBBLBOGPKDNAIGFLLOJGELFCJAA.cheng@powertv.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2501.0001
In-Reply-To: <50A89B19AEAAD411B9D200A0C9FB5699E88DD0@craius.cportcorp.com>

Thanks.  What is /usr/local/bin pointing to?  How about /usr/local,
/usr/cygnus and /cygdrive?  I am confused about what are they used for and
what should they point to?  Are they needed in general or only for specific
tools?

-----Original Message-----
From: Peter Buckley [mailto:peter DOT buckley AT cportcorp DOT com]
Sent: Wednesday, July 18, 2001 1:24 PM
To: 'Cheuk Cheng'; cygwin AT cygwin DOT com
Subject: RE: mounts in gnupro99r1p1


Cygwin tools would be located in c:\cygwin\bin,
if you install in the default location.
Cygwin prepends

/usr/local/bin:/usr/bin:/bin:/usr/sbin

to your path, and the mounts
would be-

c:\cygwin\bin to /usr/bin
c:\cygwin to /
c:\cygwin\usr\sbin to /usr/sbin

If you set your path system or user variable,
you can use cygwin/gnupro from other shells
than the bash shell. I have in my system PATH
variable on NT-

%the typical path%;C:\cygwin\bin

so I can use cygwin from emacs and dos without
opening a bash shell.
You can enter whatever location your gnupro
tools are, and your cygwin tools, without
worrying about mount.

HTH,
Peter

-----Original Message-----
From: Cheuk Cheng [mailto:cheng AT powertv DOT com]
Sent: Wednesday, July 18, 2001 4:16 PM
To: cygwin AT cygwin DOT com
Subject: mounts in gnupro99r1p1


I am new to GNU and am confused about how to set up device mounts in
general.  I use the following with the Cygwin I recently get from the web.
I also have gnupro99r1p1 installed under d:\cygnus\gnupro99-r1p1.  When I
run the default gnupro.bat file created by the gnupro99r1p1 installer, it
just opens a DOS window within Win2k.  Since the installer put certain
command line tools like ls.exe, bash.exe, etc. under
d:\cygnus\unsupported-99r1\H-i686-cygwin32\bin while other programs like
gcc.exe are placed into d:\cygnus\gnupro-99r1p1\H-i686-cygwin32\bin.  As a
result, entering ls after running bash.exe does not work.  My questions are
what mounts/paths does Cygwin used to locate a tool?  Do I always need to
mount /, /usr/bin, /usr/lib, /usr/local and /usr/cygnus?  What should they
normally be set to (especially gnupro99r1p1 has two different directories
for storing the tools)?

d:\cygnus\latest\bin on /usr/bin type user (binmode)
d:\cygnus\latest\lib on /usr/lib type user (binmode)
d:\cygnus\latest on / type user (binmode)
d:\cygnus\latest on /usr/local type user (textmode)
d:\cygnus\latest on /usr/cygnus type user (binmode)
c:\temps on /tmp type user (textmode)
c: on /c type user (textmode)
d: on /d type user (textmode)
e: on /e type user (textmode)
g: on /g type user (textmode)
k: on /cygdrive/k type user (binmode,noumount)
m: on /cygdrive/m type user (binmode,noumount)
n: on /cygdrive/n type user (binmode,noumount)
u: on /cygdrive/u type user (binmode,noumount)


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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