is it Ok to strip kernel & modules?
Warner Losh
imp at bsdimp.com
Tue Mar 25 22:57:32 UTC 2014
On Mar 25, 2014, at 4:14 PM, Lev Serebryakov <lev at FreeBSD.org> wrote:
> Hello, Freebsd-current.
>
> Why our kernel, even built without DEBUG, is not stripped? It could sabe
> 1.5Mb out of 8Mb for "router-like" (network, wifi, some netgraph, UFS, NFS and
> USB) kernel...
>
> But maybe, here are some reasons not to strip it?
If you strip the kernel, then you won’t be able to use anything that opens up
kernel memory to read answers out of it. I think this is all wrapped in ksyms, so
you could grep for it. Be thankful that ifconfig no longer is on this list :)
Warner
More information about the freebsd-current
mailing list