is it Ok to strip kernel modules?
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? Assume, I don't want use dtrace, ktrace and kernel debugger. -- // Black Lion AKA Lev Serebryakov l...@freebsd.org ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: is it Ok to strip kernel modules?
You could strip the modules no harm done. Bests On Tue, Mar 25, 2014 at 7:14 PM, Lev Serebryakov l...@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? Assume, I don't want use dtrace, ktrace and kernel debugger. -- // Black Lion AKA Lev Serebryakov l...@freebsd.org ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: is it Ok to strip kernel modules?
On Mar 25, 2014, at 4:14 PM, Lev Serebryakov l...@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 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org