From owner-freebsd-questions Mon Feb 8 01:02:41 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA06413 for freebsd-questions-outgoing; Mon, 8 Feb 1999 01:02:41 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from kbtfw.kubota.co.jp (kbtfw.kubota.co.jp [133.253.102.202]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA06395; Mon, 8 Feb 1999 01:02:38 -0800 (PST) (envelope-from haro@tk.kubota.co.jp) Received: by kbtfw.kubota.co.jp; id SAA15675; Mon, 8 Feb 1999 18:02:23 +0900 (JST) Received: from unknown(133.253.122.1) by kbtfw.kubota.co.jp via smap (4.1) id xma015582; Mon, 8 Feb 99 18:02:14 +0900 Received: from jkpc15.tk.kubota.co.jp by kbtmx.eto.kubota.co.jp (8.8.5+2.7Wbeta5/3.3W9-98080410) with ESMTP id SAA13290; Mon, 8 Feb 1999 18:02:10 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by jkpc15.tk.kubota.co.jp (8.8.8/3.7W-12/24/98) with ESMTP id SAA00838; Mon, 8 Feb 1999 18:00:59 +0900 (JST) To: charon@freethought.org Cc: questions@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Re: CTM 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> X-Mailer: Mew version 1.93 on Emacs 19.28 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19990208180059A.haro@tk.kubota.co.jp> Date: Mon, 08 Feb 1999 18:00:59 +0900 From: haro@tk.kubota.co.jp (Munehiro Matsuda) X-Dispatcher: imput version 980905(IM100) Lines: 56 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: :: ::To apply the deltas, simply say: :: :: cd /where/ever/you/want/the/stuff :: ctm -v -v /where/you/store/your/deltas/src-xxx.* :: :: ::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