www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/11/19/14:42:42

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <19991119194229.499.rocketmail@web123.yahoomail.com>
Date: Fri, 19 Nov 1999 11:42:29 -0800 (PST)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: cygwin PATH reorg?
To: Chris Faylor <cgf AT cygnus DOT com>, cygwin-developers AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

--- Chris Faylor <cgf AT cygnus DOT com> wrote:
> Given the number of problems that seem to crop up with people on the
> cygwin mailing list, I was wondering if it made sense to have cygwin
> probe the path list looking for the directory which is essentially
> "/bin" and put this directory first in the PATH.
> 

I certainly like the idea; but, this might cause more confusion than it's
worth.

> Finding this directory might be tricky, of course.  Especially if
> someone has more than one cygwin installation on their hard disk.
> However, we could even issue a warning if no cygwin 'bin' directory
> was found.
> 
> This could be defeatable by something like CYGWIN=nopathreorg .
> 

This would be a necessity for someone like myself that creates a /bin directory
and moves only the essential binaries there, i.e.: cygwin1.dll, bash.exe,
sh.exe, mount.exe, umount.exe, cygcheck.exe, and cygpath.exe (may have forgot
something but not much).  I put the rest of the cygwin bin directory in
/usr/bin.

> Thoughts?
> 

Rather than mucking with the PATH, how about creating a /bin symlink if /bin
doesn't exist and base the physical path on the starting instance of
cygwin1.dll?  Hmm..., what happens when you `umount / && mount
'c:\somewhereelse' /`?

This could get rather messy.

> cgf
> 


=====
Earnie Boyd <mailto:earnie_boyd AT yahoo DOT com>
Cygwin Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

- Raw text -


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