Very large kernel

Dmitry Morozovsky marck at rinet.ru
Sun Aug 17 16:11:32 UTC 2008


On Fri, 15 Aug 2008, freebsd at hub.org wrote:

> > Alex de Kruijff wrote:
> > > I noticed that the kernel directory was very large compaired to 6.1. Is
> > > this for debugging and can I safely remove the symbols files I want to
> > > save some space?
> > 
> > Yes but if you encounter a panic and need to submit a bug report then you
> > will need at least the kernel.debug and whatever modules you are using.
> 
> Two questions for this ...
> 
>  a. can I move these to a larger partition temporarily, and if I have a crash,
> move them back to do debugging?
> 
>  b. is there some setting I can use in make.conf to have it auto-install the
> symbols files to a seperate directory on 'installkernel'?

If you do not clean your /usr/obj regularly, you can simply use

make installkernel KERNCONF=MYOWN INSTALL_NODEBUG=

and later use .symbols files from /usr/obj/.../sys/MYOWN/*

Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-stable mailing list