From owner-freebsd-stable Sat Nov 30 18: 0:55 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 541AD37B401 for ; Sat, 30 Nov 2002 18:00:53 -0800 (PST) Received: from access.inet.co.th (access.inet.co.th [203.151.127.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id B430743EC2 for ; Sat, 30 Nov 2002 18:00:51 -0800 (PST) (envelope-from pirat@access.inet.co.th) Received: from radwaste.thai-aec.org (TruPPP0A203.inet.co.th [203.151.124.203]) by access.inet.co.th (8.8.8/8.8.8) with ESMTP id JAA07823; Sun, 1 Dec 2002 09:00:42 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: from firak.thai-aec.org (firak.thai-aec.org. [192.168.1.55]) by radwaste.thai-aec.org (8.12.6/8.12.5) with ESMTP id gB1263IS000299; Sun, 1 Dec 2002 09:06:05 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: from firak.thai-aec.org (localhost [127.0.0.1]) by firak.thai-aec.org (8.12.6/8.12.6) with ESMTP id gB125L6j072705; Sun, 1 Dec 2002 09:05:21 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: (from pirat@localhost) by firak.thai-aec.org (8.12.6/8.12.6/Submit) id gB124pa1072632; Sun, 1 Dec 2002 09:04:51 +0700 (ICT) X-Authentication-Warning: firak.thai-aec.org: pirat set sender to pirat@access.inet.co.th using -f Date: Sun, 1 Dec 2002 09:04:51 +0700 From: pirat To: "Scot W. Hetzel" Cc: stable@FreeBSD.ORG Subject: Re: update system after hacking source codes Message-ID: <20021201020451.GA11858@thai-aec.org> Mail-Followup-To: pirat , "Scot W. Hetzel" , stable@FreeBSD.ORG References: <20021127070606.90602.qmail@web14804.mail.yahoo.com> <02da01c297f5$01299800$12fd2fd8@Admin01> <02ff01c297f6$b993b7d0$12fd2fd8@Admin01> Mime-Version: 1.0 Content-Type: text/plain; charset=tis-620 Content-Disposition: inline In-Reply-To: <02ff01c297f6$b993b7d0$12fd2fd8@Admin01> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD firak.thai-aec.org 4.7-STABLE FreeBSD 4.7-STABLE Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi sirs, thanks to you all who have helped me a lot for my particular problem. my actual case is to edit /usr/src/sys/netinet/ip_var.h, add to /usr/src/sys/netinet gre.c and do a make buildkernel+installkernel with options GRE, (my other post to this list). but that did not go. anyway, i thank to you all for your kind helps and hints indeed. with best regards, pirat sriyotha On Fri, Nov 29, 2002 at 04:29:04PM -0600, Scot W. Hetzel wrote: > From: "Scot W. Hetzel" > To: "pirat sriyotha" , > Subject: Re: update system after hacking source codes > Date: Fri, 29 Nov 2002 16:29:04 -0600 > X-Mailer: Microsoft Outlook Express 6.00.2800.1106 > > From: "Scot W. Hetzel" > > From: "pirat sriyotha" > > > if i hack some .c file in /usr/src/sys, for example > > > net/if.c, how can one update freebsd system to reflect > > > such a hacking ? > > > > > > do one simply make buildworld, installworld at > > > /usr/src? > > > > > > thanks in advance for any helps and hints > > > > > All you need to do is rebuild your kernel: > > > > 1. use old kernel build method (only use if /usr/src has been updated > since > > last build/installworld). > > Should read "has not been updated since last build/installworld. > > > > > cd /usr/src/sys/i386/conf > > config MYKERNEL > > cd ../../compile/MYKERNEL > > make depend > > make > > make install > > > > 2. use new kernel build method (after a buildworld) > > > > make buildkernel > > make installkernel > > > > or just do: > > > > make kernel > > > > If your updating the sources (/usr/src), you should use cvs from a local > > source repository (install the cvsup-mirror port), instead of cvsup. As > > cvsup will either overrite your changes or fail to update the file. When > > you use cvs, it will merge your changes with the updated file. > > > > Scot > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-stable" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message