delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/11/17/13:37:16

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 279ED385457A
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru
X-Yandex-Fwd: 1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1668710101; bh=bnan9jXwdIVTfqTKuS+Eu2E4azCvs51nRe/68YMXtdo=;
h=In-Reply-To:Subject:Date:References:To:Message-ID:Reply-To:From;
b=H4q2xsUdYozuIyRzEGusxkw7qrMxS8nsHjcLYtdhkUFPyW+fS5dOZHialnUHREr76
a4UxEX2dYABSEDeKsJAmGZEHUJfG9fauEVXXau+K7dMDT7CXqcvfOXOxiaP03dsC69
mP4SKeFvpI2ZkoiRxzxQdxZQp5jJyrqrDVPykabI=
Authentication-Results: sas1-37da021029ee.qloud-c.yandex.net;
dkim=pass header.i=@yandex.ru
Date: Thu, 17 Nov 2022 21:24:05 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <3910073505.20221117212405@yandex.ru>
To: Jim Reisert AD1C <jjreisert AT alum DOT mit DOT edu>, cygwin AT cygwin DOT com
Subject: Re: Can I rename my C:\Cygwin64 directory to C:\Cygwin?
In-Reply-To: <CAK-n8j45a=Nqy-AKR9sk0c479Uo=-nYiNbMWQz9tSuz_WmhRwg@mail.gmail.com>
References: <CAK-n8j45a=Nqy-AKR9sk0c479Uo=-nYiNbMWQz9tSuz_WmhRwg AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Greetings, Jim Reisert AD1C!

> Now that Cygwin x86 is nearing/has reached end-of-life, I would like
> to rename my C:\Cygwin64 directory to C:\Cygwin.

> Other than updating my Windows environment variable (CYGROOT), are
> there any "gotchas" in doing this?  I already have a D:\Home directory
> specified in /etc/nsswitch.conf so I'm not expecting the move to break
> that.

Please look for my earlier message[1](thread) regarding installation path
changes for provided PowerShell script.

> Where does setup.exe get its information from?  Is there a .ini file
> that I will need to edit?

Whoever it gets the information, you could easily change it the first time you
update the installation at the new place.
Consider it a non-issue.
The rest of the information is taken from `$InstallPath/etc/setup`

> My main concern is that the Cygwin Perl installer may get confused.  I
> currently have this in my Cygwin environment.  It doesn't appear that
> such a change will be a problem:

>  
> PERL5LIB=/cygdrive/d/Home/perl5/lib/perl5:/cygdrive/d/Home/perl5/lib/perl5:/cygdrive/d/Home/perl5/lib/perl5

> Is there anything else I'm missing?

Depends on your setup, existing symlink targets may be a problem.

[1] https://cygwin.com/pipermail/cygwin/2022-August/thread.html#252113


-- 
With best regards,
Andrey Repin
Thursday, November 17, 2022 21:18:24

Sorry for my terrible english...


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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