FreeBSD 6.2-RELEASE下用freebsd-update升級過程:
mail#uname -a
FreeBSD mail.extmail.org 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Nov 2 13:04:30 UTC 2007 [email protected]:/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升級。
那為什麼用uname看不出來呢?是因為uname反映的是內核級別的情況。只是執行freebsd-update是不觸及系統內核的,但是系統確實已經得到了升級。那麼,要想能從"uname -a"上反映出來,還需要接著執行下面的命令:
mail#cd /usr/src
mail#make buildkernel KERNCONF=YOURKERNEL
mail#make installkernel KERNCONF=YOURKERNEL
mail#reboot