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

看板FB_current作者時間14年前 (2011/08/14 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/16 (看更多)
On 13 August 2011 20:51, Alexander Best <arundel@freebsd.org> wrote: > hi there, > > 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? > > something like /boot/kernel-r${revision}-${/dev/random}? > > that would let people not only boot the previous kernel, but all kernels that > have been replaced by target installkernel. this would make tracking issues, > which have been introduced by a certain commit much easier, imho. > > i don't think implementing this logic would be that difficult. the only problem > i see is with ${/dev/random} in the case where people are running a kernel > without /dev/{u}random support. > > cheers. > alex mktemp? Chris _______________________________________________ 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): #1EHjV-kE (FB_current)
討論串 (同標題文章)
完整討論串 (本文為第 1 之 16 篇):
文章代碼(AID): #1EHjV-kE (FB_current)