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? Tanks, Alex Please copy the original recipients, otherwise I may not read your reply. Howtos based on my personal use, including information about setting up a firewall and creating traffic graphs with MRTG http://alex.kruijff.org/FreeBSD/
> 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, you can do this safely. Bj?rn
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. Kris
On Sat, 1 Mar 2008, Kris Kennaway wrote: KK> Alex de Kruijff wrote: KK> > I noticed that the kernel directory was very large compaired to 6.1. Is KK> > this for debugging and can I safely remove the symbols files I want to KK> > save some space? KK> KK> Yes but if you encounter a panic and need to submit a bug report then you KK> will need at least the kernel.debug and whatever modules you are using. What about gzipping .symbol files by default? It decreases symbol files size in about 50-60%, so i386 GENERIC kernel directory shrinks from 125m to 74m... Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------
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?Some time ago someone already asked this question on current@ IIRC. Someone proposed to add INSTALL_NODEBUG="yes" to /etc/make.conf in case one wishes not to install those additional files. HTH, Philipp
On Sat, Mar 1, 2008 at 4:33 AM, Alex de Kruijff <freebsd@akruijff.dds.nl> 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?You can build a custom kernel, without debug support, if debugging if not useful for you. I use to do this in "production" machines. -- Carlos A. M. dos Santos
On Sat, Mar 01, 2008 at 06:11:53PM +0300, Dmitry Morozovsky wrote:> On Sat, 1 Mar 2008, Kris Kennaway wrote: > > KK> Alex de Kruijff wrote: > KK> > I noticed that the kernel directory was very large compaired to 6.1. Is > KK> > this for debugging and can I safely remove the symbols files I want to > KK> > save some space? > KK> > KK> Yes but if you encounter a panic and need to submit a bug report then you > KK> will need at least the kernel.debug and whatever modules you are using. > > What about gzipping .symbol files by default? > > It decreases symbol files size in about 50-60%, so i386 GENERIC kernel > directory shrinks from 125m to 74m...I like this idea. The root is usaly small. In edition they could be removed from kernel.old when updating by default. -- Alex Please copy the original recipients, otherwise I may not read your reply. Howtos based on my personal use, including information about setting up a firewall and creating traffic graphs with MRTG http://alex.kruijff.org/FreeBSD/