Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <000001c31629$8c4f8e00$6fc82486@medschool.dundee.ac.uk> Reply-To: From: To: Cc: Subject: Re: cygwin and windows registry Date: Fri, 9 May 2003 13:46:29 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > ... is there a method to make cygwin portable? > ... to make it so that it doesn't write to the registry? If you have one directory containing two files, being cygwin1.dll and a single Cygwin executable, then running that executable will write to the registry. (Try it on a clean -- or cleaned -- machine with ls, for instance, or md5sum or ddate or anything you like. Then run regedit and look for the string "cyg".) So whatever you invent, and however sparse, this will happen. It's not really a problem. There's a recent discussion "Portable Cygwin on a CD" on the list. Depending on the complexity of your requirements, you might need just some executables and dll's: in which case, just store them and use them. Or, because of dependencies and lurking relative paths etc in what you do, you might find you need to mimic the conventional architecture /bin, /etc, /usr, ... under g:\. If you do this then you should be able simply to walk up to a vacant PC, mount your CD at the start (g:\bin\mount -bfu g:/ /) umount it at the end (g:\bin\umount -A) and walk away again. I do that round here the whole time. Nobody wants my stuff on their machine, and nor do I want them to have it. But it is convenient to work with them, at their machine. If it happens to be a Cygwin machine, then you'll not only want your mount point to be temporary, but probably to recover theirs after it's all over. Potentially awkward, but there's something about this in the thread. Fergus -- 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/