delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Subject: | Re: setup - duplicating cygwin |
In-Reply-To: | <Pine.GSO.4.63.0606191008330.11100@access1.cims.nyu.edu> from Igor Peshansky at "Jun 19, 2006 10:13:13 am" |
From: | Jim Easton <jim AT cs DOT ualberta DOT ca> |
To: | cygwin AT cygwin DOT com |
Date: | Tue, 20 Jun 2006 02:58:08 -0600 (MDT) |
CC: | Jim Easton <jim AT cs DOT ualberta DOT ca> |
X-Mailer: | ELM [version 2.4ME+ PL66 (25)] |
Message-Id: | <S559086AbWFTI6K/20060620085812Z+59@sunkay.cs.ualberta.ca> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Hi Igor, > > Tell me; In case things go wrong, to recover my present configuration > > is it sufficient to simply restore /cygdrive/c/cygwin and > > /cygdrive/c/cygwin.disk or is there something more subtle going on. > > If you didn't change the mounts, it should be sufficient to restore > c:\cygwin. I don't know what c:\cygwin.disk is -- probably something c:\cygwin.disk is where setup seems to want to put the downloaded files. > specific to your system that you've created. If you did change the > mounts, the FAQ mentions a way of saving/restoring them by writing the > output of the "mount -m" command to a batch file and then running it. No such problem here. ... > > cygdrive and proc are missing. I take it there is no proc or > > cygdrive directories. > > They are virtual directories, as is /dev (but /dev doesn't show up in the > root directory listing yet). Right, I realize that. When I was still working (now retired) I found /proc was a right useful directory. In fact there was a program called lsof which was supposed to tell you which processes had open files or were cd'ed into a given file system. This was to enable one to kill the process so you could unmount the file system. It didn't always work so I wrote a script using /proc that fullfilled the purpose. Question: is /proc implemented and I just haven't figured out how to install it? > You can also simply rename the directory (which will effectively hide it > from Cygwin), and then rename it back. I thought of that and will certainly do that for experimenting but unless cygdrive and proc need not be there it doesn't allow a restoration from a tar file which would be nice. I will experiment with that. My background is experimental physics - the emphasis being on the "experimental". I just hope I don't kill myself in the process :-). > HTH, It certainly does - thank you. Jim -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |