public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Can I rename my C:\Cygwin64 directory to C:\Cygwin?
@ 2022-11-17 16:58 Jim Reisert AD1C
  2022-11-17 18:24 ` Andrey Repin
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Reisert AD1C @ 2022-11-17 16:58 UTC (permalink / raw)
  To: The Cygwin Mailing List

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.

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

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?

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, https://ad1c.us

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can I rename my C:\Cygwin64 directory to C:\Cygwin?
  2022-11-17 16:58 Can I rename my C:\Cygwin64 directory to C:\Cygwin? Jim Reisert AD1C
@ 2022-11-17 18:24 ` Andrey Repin
  2022-11-17 22:57   ` Jim Reisert AD1C
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Repin @ 2022-11-17 18:24 UTC (permalink / raw)
  To: Jim Reisert AD1C, cygwin

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...


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can I rename my C:\Cygwin64 directory to C:\Cygwin?
  2022-11-17 18:24 ` Andrey Repin
@ 2022-11-17 22:57   ` Jim Reisert AD1C
  0 siblings, 0 replies; 3+ messages in thread
From: Jim Reisert AD1C @ 2022-11-17 22:57 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 641 bytes --]

On Thu, Nov 17, 2022 at 11:35 AM Andrey Repin <anrdaemon@yandex.ru> wrote:

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?
>
> The rest of the information is taken from `$InstallPath/etc/setup`
>
> > 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
>

Thank you Andrey!

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, https://ad1c.us

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-17 22:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-17 16:58 Can I rename my C:\Cygwin64 directory to C:\Cygwin? Jim Reisert AD1C
2022-11-17 18:24 ` Andrey Repin
2022-11-17 22:57   ` Jim Reisert AD1C

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).