This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: setup - duplicating cygwin
- From: Jim Easton <jim at cs dot ualberta dot ca>
- To: cygwin at cygwin dot com
- Cc: Jim Easton <jim at cs dot ualberta dot ca>
- Date: Tue, 20 Jun 2006 02:58:08 -0600 (MDT)
- Subject: Re: setup - duplicating cygwin
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/