Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Feb 1999 18:00:59 +0900
From:      haro@tk.kubota.co.jp (Munehiro Matsuda)
To:        charon@freethought.org
Cc:        questions@FreeBSD.ORG, stable@FreeBSD.ORG
Subject:   Re: CTM
Message-ID:  <19990208180059A.haro@tk.kubota.co.jp>
In-Reply-To: Your message of "Sun, 07 Feb 1999 18:53:12 -0800" <3.0.5.32.19990207185312.00a28100@mail>
References:  <3.0.5.32.19990207185312.00a28100@mail>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, 

From: charon@freethought.org
Date: Sun, 07 Feb 1999 18:53:12 -0800
::After reading http://www.freebsd.org/handbook/handbook272.html and 'man
::ctm' several times, I have to say that I still don't understand it very
::well.  Take this example from the handbook:
::<snip>
::To apply the deltas, simply say: 
::
::     cd /where/ever/you/want/the/stuff
::     ctm -v -v /where/you/store/your/deltas/src-xxx.*
::</snip>
::
::What on earth is "/where/ever/you/want/the/stuff"?  The
::"/where/you/store/your/deltas/" is obvious, but there's no explanation at
::all for the first directory.
::
::I think this is the only problem I have, because if when I run ctm it says
::that everything checks out okay, but I don't think it's in the right
::directory (i.e. I ran ctm in /usr/CTM, where I have the gzipped deltas, and
::the result sure doesn't look right).  I think I just need a little more
::hand-holding than the documentation provides...  Thanks,

You have to create your own "/where/ever/you/want/the/stuff" directory
and apply yor deltas. For example,

  # mkdir /usr/src/3.0-STABLE
  # cd /usr/src/3.0-STABLE
  # ctm -v /where/you/store/your/deltas/src-3.*
or
  # mkdir /usr/src/3.0-STABLE
  # cd /where/you/store/your/deltas
  # ctm -v -b /usr/src/3.0-STABLE src-3.*

If your are starting off from some where in a huge tree, you could use the
"src-*00xEmpty.gz" file. For example,

  # mkdir /usr/src/what-ever
  # cd /where/you/store/your/deltas

  Now, get src-*.??00xEmpty.gz and following src-*.????.gz files. Then,

  # ctm -v -b /usr/src/what-ever src-*.??00xEmpty.gz
  # ctm -v -b /usr/src/what-ever src-*.????.gz

Hope this helps.

  Haro,
-------------------------------------------------------------------------------
          _ _    Munehiro (Haro) Matsuda
-|- /_\  |_|_|   Office of Business Planning & Developement, Kubota Corp.
/|\ |_|  |_|_|	 1-3 Nihonbashi-Muromachi 3-Chome
		 Chuo-ku Tokyo 103, Japan
                 Tel: +81-3-3245-3318  Fax: +81-3-32454-3315
                 Email: haro@tk.kubota.co.jp

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990208180059A.haro>