delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/19/03:16:14

X-Spam-Check-By: sourceware.org
Subject: Re: setup - duplicating cygwin
In-Reply-To: <Pine.GSO.4.63.0606181127410.11100@access1.cims.nyu.edu> from Igor Peshansky at "Jun 18, 2006 11:32:45 am"
From: Jim Easton <jim AT cs DOT ualberta DOT ca>
To: cygwin AT cygwin DOT com
Date: Mon, 19 Jun 2006 01:15:49 -0600 (MDT)
CC: Jim Easton <jim AT cs DOT ualberta DOT ca>
X-Mailer: ELM [version 2.4ME+ PL66 (25)]
Message-Id: <S558970AbWFSHPt/20060619071553Z+55@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

> > 1) using windows read "installed.db" into "my documents"
> > 2) the version numbers were already set to zero.
> 
> Whup.  Stop right here.  When you say "the version numbers were already
> set to zero", you don't mean those extra zeroes at the end of each line,
> do you?  Because if you do, that field has nothing to do with version
> numbers.  Setup extracts the version number from the name of the tarball
> in the first field (notice, I said "replace them by '0.0-0'", not "replace
> them by '0'").  If you actually edit the filenames in the first field of
> installed.db and repeat what you've tried, it should work.

Gaaah!!  Gee it's bright in here - now.  I feel pretty stupid.
My excuse is I'm getting old and my brain is turning to mush.  :-)

Thank you.

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.

For example:
If I cd into cygwin that has been made by setup I get:
$ cd /cygdrive/c/cygwin
$ ls
Thumbs.db  cygdrive    cygwin.ico  home  proc  tmp  var
bin        cygwin.bat  etc         lib   sbin  usr
$ 

Whereas the tarred/untarred version of cygwin is:
$ cd /cygdrive/h/cygwin
$ ls
Thumbs.db  bin  cygwin.bat  cygwin.ico  etc  home  lib  sbin  tmp  usr  var
$ 

cygdrive and proc are missing.  I take it there is no proc or
cygdrive directories.  I also found I have to use tar for this, if
you try to use windows it messes up pointers and, for all I know,
other things.

Thanks again.

	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/

- Raw text -


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