FreeBSD 6.2-RELEASE下用freebsd-update升級(jí)過程:
mail#uname -a
FreeBSD mail.extmail.org 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Nov 2 13:04:30 UTC 2007 qiao@qiao.lpzq:/usr/src/sys/i386/compile/kernel_IPFW i386
mail#freebsd-update fetch install
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching public key from update1.FreeBSD.org... done.
Fetching metadata signature from update1.FreeBSD.org... done.
Fetching metadata index...done.
即可完成freebsd的bianary升級(jí)。
那為什么用uname看不出來呢?是因?yàn)閡name反映的是內(nèi)核級(jí)別的情況。只是執(zhí)行freebsd-update是不觸及系統(tǒng)內(nèi)核的,但是系統(tǒng)確實(shí)已經(jīng)得到了升級(jí)。那么,要想能從"uname -a"上反映出來,還需要接著執(zhí)行下面的命令:
mail#cd /usr/src
mail#make buildkernel KERNCONF=YOURKERNEL
mail#make installkernel KERNCONF=YOURKERNEL
mail#reboot