Deleting the kernel source - just with #rm?
herbert.raimund at gmx.net
Sun Oct 4 14:31:21 UTC 2009
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:
- it will overwrite my self compiled kernel? Good to know indeed!
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 at 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)
> 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.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
herbert langhans, warschau
herbert dot raimund at gmx dot net
+0048 603 341 441
More information about the freebsd-questions