New debug kernel installation mechanism committed to HEAD

看板DFBSD_kernel作者時間21年前 (2004/10/21 07:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/25 (看更多)
I've committed the debug kernel work to HEAD. It is possible to slip the Stable tag for it (I'm pretty sure) but I would like to delay doing that until people running HEAD get a chance to test it. I realized something very interesting while doing the work, and that is the backup kernel and modules created when you installkernel are not stripped of their debug info, which means that one will often wind up with 3+40 = 43 MB of *BACKUP* kernel and module data after an install kernel under the old regime. The new kernel install rules will automatically strip the debug info from the backup copies even while saving the fully debug kernel as /kernel, reducing the space used by the backups from ~43MB to ~13MB, saving ~30MB, while only eating an additional ~10MB for the new debug-enabled /kernel. So, believe it or not, for people who do 'installkernel' a lot with debug kernels, these changes will actually save you ~20MB of disk space in the root partition even though /kernel is 10MB bigger!! Now is that cool or what? -- In anycase, see the commit message for further details. Additional make flags have been added to give you control over the stripping of the kernel's debug info, and a separate control over the stripping of the module's debug info. Everyone should be happy. -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #11TlLq00 (DFBSD_kernel)
討論串 (同標題文章)
完整討論串 (本文為第 1 之 25 篇):
文章代碼(AID): #11TlLq00 (DFBSD_kernel)