X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <46C4685F DOT 5080805 AT alink DOT co DOT za> 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 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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/