delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/17/09:25:50

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <46C4685F DOT 5080805 AT alink DOT co DOT za> <loom DOT 20070817T144417-501 AT post DOT gmane DOT org>
Subject: RE: Installer tasks
Date: Fri, 17 Aug 2007 14:25:23 +0100
Message-ID: <04dc01c7e0d2$11374fa0$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <loom.20070817T144417-501@post.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 17 August 2007 13:57, phil long wrote:

> George <george <at> alink.co.za> writes:
> 
>> 
>> Hi All,
>> 
>> Assuming I wish to copy the c:\cygwin\ directory from one computer to
>> another, are there any further utilities/updates which I need to do to
>> ensure it works correctly? 
>> 
>> I have create a script which redoes the mount points (mount -m).
>> 
>> Is there anything further which I need to do?
>> 
>> Advice/pointers to documentation appreciated.
>> 
>> George
>> 
>> 
> 
> 
> Assuming that the mounts are the same, that should be enough to run
> most applications (fileutils, etc.).  

  And if they aren't, run "mount -m > cmds.txt" on one machine, then copy it
to the other and run "sh < cmds.txt".

  The other thing that would need redoing is reconfiguring any installed
services, preferably by running the proper *-host-config.sh scripts.

  Oh, and you'll almost certainly need to regenerate /etc/passwd and
/etc/groups.

  Then, of course, you might need to adjust a bunch of file ownerships.



  This is why most people recommend just copying across the local packages
dir, and running setup.exe on the new machine telling it to "install from
local package dir".  There's a fairly open-ended and underspecified list of
things you'd have to fix up manually if you try to copy the whole install
across.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

- Raw text -


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