Is there a way to clone-install Cygwin?
Ulli Horlacher
framstag@rus.uni-stuttgart.de
Fri Jan 31 11:29:00 GMT 2020
On Fri 2020-01-31 (11:24), Ulli Horlacher wrote:
> On Mon 2020-01-20 (19:28), Brent Epp wrote:
>
> > Cygwin is totally portable! You can simply copy the installation folder to
> > another PC, copy the shortcut (edit target if needed) and it will work.
>
> How do you copy it?
> Which archive container do you use?
>
> I have tried it with:
>
> /: cat zip.bat
> cd C:\
> \7z\7za a -tzip -xr!cygwin64/home/* -xr!cygwin64/var/log/* tmp\cygwin64.zip cygwin64
>
> But in resulting cygwin64.zip the directories /cygdrive /proc /usr/bin and /usr/lib are
> missing, because they are mount points.
I have now extracted this cygwin64.zip on a second Windows host using the
Windows bsdtar
I have started a mintty with bash:
The missing mountpoint directories were created automagically :-)
> Next problem is: the file permissions will not be restored.
And all symbolic links have been extracted as regular files :-(
--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/
REF:<20200131102434.GB5074@tik.uni-stuttgart.de>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list