From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25053 invoked by alias); 31 Jan 2020 12:05:34 -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 24984 invoked by uid 89); 31 Jan 2020 12:05:33 -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=20200131112904.GC5074@tik.uni-stuttgart.de, U*20200131112904.GC5074, 20200131112904gc5074tikunistuttgartde, 20200131112904.gc5074@tik.uni-stuttgart.de X-HELO: mx4.rus.uni-stuttgart.de Received: from mx4.rus.uni-stuttgart.de (HELO mx4.rus.uni-stuttgart.de) (129.69.192.4) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 31 Jan 2020 12:05:31 +0000 Received: from localhost (localhost [127.0.0.1]) by mx4.rus.uni-stuttgart.de (Postfix) with ESMTP id 8890543 for ; Fri, 31 Jan 2020 13:05:28 +0100 (CET) Received: from mx4.rus.uni-stuttgart.de ([127.0.0.1]) by localhost (mx4.rus.uni-stuttgart.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5v5BecXHEFwP for ; Fri, 31 Jan 2020 13:05:26 +0100 (CET) Received: from diaspora.rus.uni-stuttgart.de (diaspora.rus.uni-stuttgart.de [129.69.13.139]) by mx4.rus.uni-stuttgart.de (Postfix) with ESMTP for ; Fri, 31 Jan 2020 13:05:26 +0100 (CET) Received: from diaspora.rus.uni-stuttgart.de (localhost [127.0.0.1]) by diaspora.rus.uni-stuttgart.de (Postfix) with SMTP id 625B521789 for ; Fri, 31 Jan 2020 13:05:26 +0100 (CET) Date: Fri, 31 Jan 2020 12:05:00 -0000 From: Ulli Horlacher To: cygwin@cygwin.com Subject: Re: Is there a way to clone-install Cygwin? Message-ID: <20200131120526.GA6676@tik.uni-stuttgart.de> Mail-Followup-To: cygwin@cygwin.com References: <16fc5b76c50.2780.a1382e26d1292f71ec6ef0cd03d49346@pdc.ca> <20200131102434.GB5074@tik.uni-stuttgart.de> <20200131112904.GC5074@tik.uni-stuttgart.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200131112904.GC5074@tik.uni-stuttgart.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00330.txt.bz2 On Fri 2020-01-31 (12:29), 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. > > > > 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 > > > Next problem is: the file permissions will not be restored. > > And all symbolic links have been extracted as regular files :-( Next try with tar container: On the source host I used: cd /cygdrive/c tar --one-file-system --exclude=cygwin64/var/log/* --exclude=cygwin64/home/* -cvzf /cygdrive/c/tmp/cygwin64.tgz cygwin64 I transfered this cygwin64.tgz to the destintion host and tried to extract it: C:\>ver Microsoft Windows [Version 10.0.18363.592] C:\>tar --version bsdtar 3.3.2 - libarchive 3.3.2 zlib/1.2.5.f-ipp C:\>tar -xzf cygwin64.tgz cygwin64/bin/apropos: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\apropos' cygwin64/bin/awk: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\awk' cygwin64/bin/bzcmp: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\bzcmp' cygwin64/bin/bzegrep: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\bzegrep' cygwin64/bin/bzfgrep: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\bzfgrep' cygwin64/bin/bzless: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\bzless' cygwin64/bin/captoinfo: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\captoinfo' cygwin64/bin/dnsdomainname: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\dnsdomainname' cygwin64/bin/domainname: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\domainname' cygwin64/bin/ex: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\ex' cygwin64/bin/infotocap: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\infotocap' cygwin64/bin/lzcat: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzcat' cygwin64/bin/lzcmp: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzcmp' cygwin64/bin/lzdiff: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzdiff' cygwin64/bin/lzegrep: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzegrep' cygwin64/bin/lzfgrep: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzfgrep' cygwin64/bin/lzgrep: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzgrep' cygwin64/bin/lzless: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzless' cygwin64/bin/lzma: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzma' cygwin64/bin/lzmore: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\lzmore' cygwin64/bin/reset: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\reset' cygwin64/bin/rnano: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\rnano' cygwin64/bin/rvi: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\rvi' cygwin64/bin/rview: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\rview' cygwin64/bin/rvim: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\rvim' ^C (I have started the cmd shell as administrator) -- 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:<20200131112904.GC5074@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