Date: Sun, 4 Oct 2009 16:29:08 +0200 From: herbert langhans <herbert.raimund@gmx.net> To: andrew clarke <mail@ozzmosis.com>, freebsd-questions@freebsd.org Subject: Re: Deleting the kernel source - just with #rm? Message-ID: <20091004142908.GA18329@sandcat> In-Reply-To: <20091004133737.GA63827@ozzmosis.com> References: <20091004131504.GB1406@sandcat> <20091004133737.GA63827@ozzmosis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you, Andrew, clicketyclick - all source code gone now, and the config file is saved. Can you please tell me about the issue with freebsd-update. Does it mean if I run: #freebsd-update fetch #freebsd-update install - it will overwrite my self compiled kernel? Good to know indeed! Cheers herb langhans On Mon, Oct 05, 2009 at 12:37:37AM +1100, andrew clarke wrote: > On Sun 2009-10-04 15:15:05 UTC+0200, herbert langhans (herbert.raimund@gmx.net) wrote: > > > I just compiled a nice, slim kernel on my laptop, but I dont want to > > carry all the kernel sources around there. > > > > Is it ok just to #rm the content of the /usr/src directory? And will I > > get it completely back from sysinstall or the FreeBSD-servers? Or is > > there a more elegant solution on FreeBSD? > > This should be fine. > > Since you've built a custom kernel you may want to keep a copy of > your kernel build config ("LINT") file, eg. /usr/src/sys/i386/conf/HOSTNAME. > > Note that you can't use freebsd-update to patch a custom (non-GENERIC) > kernel. > > You can restore the kernel source code by extracting the ssys.?? > binaries (normally found in the /src/ directory, eg. > ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/7.2-RELEASE/src/ ) > using install.sh (found in the same directory). Probably also with > sysinstall, but I don't recall the steps to do that. > > Regards > Andrew > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- sprachtraining langhans herbert langhans, warschau http://www.langhans.com.pl herbert dot raimund at gmx dot net +0048 603 341 441
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091004142908.GA18329>