From owner-freebsd-hackers Thu Jul 25 15:53:06 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA07846 for hackers-outgoing; Thu, 25 Jul 1996 15:53:06 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA07825 for ; Thu, 25 Jul 1996 15:52:58 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id AAA25106; Fri, 26 Jul 1996 00:52:11 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id AAA27274; Fri, 26 Jul 1996 00:52:11 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id WAA23236; Thu, 25 Jul 1996 22:35:40 +0200 (MET DST) From: J Wunsch Message-Id: <199607252035.WAA23236@uriah.heep.sax.de> Subject: Re: CVS basics? To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Thu, 25 Jul 1996 22:35:40 +0200 (MET DST) Cc: karl@mcs.com (Karl Denninger MCSNet) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Karl Denninger, MCSNet" at "Jul 25, 96 11:19:13 am" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Karl Denninger, MCSNet wrote: > Possible? Tutorials anywhere? Where do I get the list of collections and > common commands? dump 0 ... setenv CVSROOT ... cd /usr rm -rf src cvs co src cd src/sys/... (create new kernel, and see whether it will boot) cd /usr/src make world This should help upgrading, but it might fall apart somewhere in the make world, so you have to bootstrap something manually, and continue to build. After this, all you need to do is: cd /usr/src cvs update -Pd -A This will update your src tree. Local modifications will be retained, but might cause conflicts in case somebody changed the original source in a different way. Other interesting things: cvs co -c | fgrep module_name_youre_looking_for cd /some/where cvs co some_module cd some_module cd .. cvs diff -u some_module | ... | send-pr :-) cvs -Q release -d some_module cvs diff -u -rRELENG_2_1_0_RELEASE -rRELENG_2_1_0_RELEASE /usr/src/sbin/init ...to learn about the differences of init(8) between 2.1R and 2.1.5R. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)