Re: [rfc] replacing /boot/kernel.old with a unique directory nam

看板FB_current作者時間14年前 (2011/08/14 19:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串8/16 (看更多)
Eduardo Morras <nec556@retena.com> writes: > At 22:06 13/08/2011, Steven Hartland wrote: >>> i just had the following idea: how about instead of copying the >>> current kernel >>>to /boot/kernel.old and then installing the new one under /boot/kernel as the >>> results of target installkernel, we create a unique directory name >>> for the old >>>kernel? >> >>The default size of / is likely your biggest problem. > > Don't know how much compresable is /boot/kernel.old but tar with -z > or -j may be a workaround. We can extract on demand and swap current > /boot/kernel with new /boot/kernel. Other way of do it is link > /boot/kernel to current kernel and update it, but i don't know > (again) if it would work in single user mode. There is kgzldr that lets you boot compressed kernels. Try $ gzip /boot/kernel/* $ reboot _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1EHx8opK (FB_current)
討論串 (同標題文章)
完整討論串 (本文為第 8 之 16 篇):
文章代碼(AID): #1EHx8opK (FB_current)