delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/05/03/09:53:06

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Wed, 3 May 2000 10:53:33 -0400
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: /cygdrive/windows ?
Message-ID: <20000503105333.H6787@cygnus.com>
Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com
Mail-Followup-To: cgf AT cygnus DOT com, cygwin-developers AT sourceware DOT cygnus DOT com
References: <20000503123133 DOT 10286 DOT qmail AT web118 DOT yahoomail DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.1.12i
In-Reply-To: <20000503123133.10286.qmail@web118.yahoomail.com>; from earnie_boyd@yahoo.com on Wed, May 03, 2000 at 05:31:32AM -0700

On Wed, May 03, 2000 at 05:31:32AM -0700, Earnie Boyd wrote:
>--- Espen Harlinn <espen DOT harlinn AT seamos DOT no> wrote:
>> > On Tue, May 02, 2000 at 10:50:06PM -0400, DJ Delorie wrote:
>> > >
>> > >`cygpath --windir`
>> > >
>> > >The only time we'd need something like this visible outside a compiled
>> > >application is a script, and a script can use cygpath to get the
>> > >directory path and store it.  Any compiled program can just call
>> > >GetWindowsDirectory() itself.
>> >
>> > Actually, I was thinking that it would be nice to have this in a tar file:
>> >
>> > /cygdrive/system/some.dll .
>> >
>> > This would always extract some.dll to the windows/system directory.
>> 
>> IMHO: Putting things in windows\system[32] is not a very bright idea,
>> keeping the complete cygwin installation in a separate directory is how I
>> like it. At various times it has been usefull to have several different
>> cygwin installations installed into different directories. If some.dll goes
>> into windows\system[32] the requirement for backwards binary compability
>> becomes more stringent when changes are made to some.dll. There is also the
>> slight problem that some.dll may allready exist on the target system and it
>> might just be something quite different from your some.dll i.e. a name
>> clash.
>> 
>> Espen
>
>IMNSHO, I agree with Espen.  Not a good idea at all.

I am talking about providing people with a convenient way of finding two
important windows directories via the filesystem.

I never said anything about modifying the installation to put the cygwin
DLL there.  There are, however, other packages which require putting
files in the windows or windows/system directories.

Of course, I am aware that you could write a program to print the paths.
I know that there are environment variables.  Using something like
cygpath to translate the paths would mean that, if the path was used on
a mount line the windows path WOULD go into the registry.  I know that
it is unlikely that this would change but it is not impossible.

I wanted to have some convenient way of putting a file in an archive and
having it extract to the windows directories.  This is NOT for the current
setup.  I certainly know that this is a good idea and have mentioned this
on cygwin and cygwin-developers.

cgf

- Raw text -


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