From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7889 invoked by alias); 31 Jan 2020 11:29:11 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 7882 invoked by uid 89); 31 Jan 2020 11:29:11 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=20200131102434.gb5074@tik.uni-stuttgart.de, 20200131102434GB5074tikunistuttgartde, U*20200131102434.GB5074, 20200131102434gb5074tikunistuttgartde X-HELO: mx1.rus.uni-stuttgart.de Received: from mx1.rus.uni-stuttgart.de (HELO mx1.rus.uni-stuttgart.de) (129.69.192.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 31 Jan 2020 11:29:09 +0000 Received: from localhost (localhost [127.0.0.1]) by mx1.rus.uni-stuttgart.de (Postfix) with ESMTP id 157FC2F for ; Fri, 31 Jan 2020 12:29:07 +0100 (CET) Received: from mx1.rus.uni-stuttgart.de ([127.0.0.1]) by localhost (mx1.rus.uni-stuttgart.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uJZ1Wuc4B8fJ for ; Fri, 31 Jan 2020 12:29:05 +0100 (CET) Received: from diaspora.rus.uni-stuttgart.de (diaspora.rus.uni-stuttgart.de [129.69.13.139]) by mx1.rus.uni-stuttgart.de (Postfix) with ESMTP for ; Fri, 31 Jan 2020 12:29:05 +0100 (CET) Received: from diaspora.rus.uni-stuttgart.de (localhost [127.0.0.1]) by diaspora.rus.uni-stuttgart.de (Postfix) with SMTP id EEB5E21789 for ; Fri, 31 Jan 2020 12:29:04 +0100 (CET) Date: Fri, 31 Jan 2020 11:29:00 -0000 From: Ulli Horlacher To: cygwin@cygwin.com Subject: Re: Is there a way to clone-install Cygwin? Message-ID: <20200131112904.GC5074@tik.uni-stuttgart.de> Mail-Followup-To: cygwin@cygwin.com References: <16fc5b76c50.2780.a1382e26d1292f71ec6ef0cd03d49346@pdc.ca> <20200131102434.GB5074@tik.uni-stuttgart.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200131102434.GB5074@tik.uni-stuttgart.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00329.txt.bz2 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