[Fwd: What do people think about not installing a stripped
/kernel ?]
Ruslan Ermilov
ru at freebsd.org
Wed Oct 20 13:55:57 PDT 2004
On Wed, Oct 20, 2004 at 01:47:20PM -0600, Scott Long wrote:
> Ruslan Ermilov wrote:
> >On Wed, Oct 20, 2004 at 07:13:35PM +0200, Max Laier wrote:
> >
> >>Why is this discussion ongoing? The consensus seems pretty clear:
> >>"Implement it, but have a make.conf option to turn it off." If there is
> >>concern with this make if default to off and have an option to turn it on.
> >>
> >
> >Implementing this is very easy, since it's already implemented,
> >just not by default.
> >
> >What everyone seem to have forgotten is that we also have modules,
> >and in the "config -g" case, we also build debug versions of the
> >modules. And if we're also going to install modules with debug
> >symbols, I think this puts the requirement for the root file
> >system way beyond the rational limits.
> >
> >
> >Cheers,
>
> I tend to agree. What do you think of my proposal to have installkernel
> (optionally or whatever) put unstriped binaries somewhere outside of the
> root partition?
>
Do you mean installing what we already have as a result of building
a debug kernel? In that case, this is already easily done by:
make buildkernel CONFIGARGS=-g
make installkernel
mkdir -p /usr/somewhere
make installkernel.debug KODIR=/usr/somewhere
As a result of running this, I have:
ru# ls -1 /usr/somewhere/ |grep '\.ko\.debug' |wc -l
386
ru# ls -1 /usr/somewhere/ | grep -v '\.ko\.debug'
kernel.debug
linker.hints
Cheers,
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041020/09742017/attachment.bin
More information about the freebsd-current
mailing list