2009年1月5日、
本特集ではこれから数回にわたり、
強力なリリースエンジニアリング
2008年3月3日より、
…となんだかノスタルジックな書き出しだが、
その結果、
系列 | 間隔 |
---|---|
2 | 7ヵ月 |
3 | 4ヵ月 |
4 | 4ヵ月 |
5 | 5ヵ月 |
6 | 6ヵ月 |
7 | 10ヵ月 |
結果、
2.
4.
6.
ということになる。
7.1-RELEASEの新機能
これまた知っている人には耳にタコであるが、
一方、
したがって、
- 強力なデバッグ手段である
「DTrace」 が導入された (元はOpenSolaris)。 - ブートローダが改良され、
USBデバイスやGPTラベルされたデバイスからの起動が可能になった。 - デスクトップ環境はKDE 3.
5.10とGNOME2. 22. 3になった。 - amd64とi386アーキテクチャに、
DVDインストールイメージが用意された。 - cpusetシステムコールやcpusetコマンドが用意され、
プロセスやリソースをCPUにわりふることができるようになった。 - NFS
(Network File System) でのロック機構 「NLM」 が改良された。 - スケジューラが従来のBSDスケジューラからULEスケジューラになった。
このうち、
7.1-RELEASEにアップグレードしよう
それでは早速7.
ネットワークにつながったFreeBSDマシンにログインして、y
と答えつづけていればよい。
# freebsd-update -r 7.1-RELEASE upgrade
update.
Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching public key from update2.FreeBSD.org... done. Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Fetching 2 metadata files... done. Inspecting system...
今回インストールするマシンには、y
と答える。
The following components of FreeBSD seem to be installed: kernel/generic src/base src/sys world/base world/dict world/doc world/games world/info world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: src/bin src/cddl src/compat src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue src/sbin src/secure src/share src/tools src/ubin src/usbin world/catpages Does this look reasonable (y/n)? y
アップグレードに必要なファイルのダウンロードがはじまる。10ヵ月の開発の成果でナント、
Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Fetching files from 7.0-RELEASE for merging... done.
Preparing to download files... done.
Fetching 17815 patches.....10....20....30....40...(省略).17780....17790....17800....17810.. done.
Applying patches... done.
パッチ適用で終わったかと思いきや、
# freebsd-update -r 7.1-RELEASE upgrade
と入力することで、
次に、ZZ
Fetching 1649 files... done. Attempting to automatically merge changes in files... done. The following file could not be merged automatically: /etc/hosts Press Enter to edit this file in vi and resolve the conflicts manually...
同じ要領で、
Does this look reasonable (y/n)?
に対してy
と答えるだけでよい。変更するファイルのリストが出るので、q
でmoreから抜けて準備終了である。
The following files will be removed as part of updating to 7.1-RELEASE-p3:
/etc/rc.d/kernel
/usr/include/netgraph/atm/ng_atmpif.h
/usr/sbin/pkg_check
/usr/sbin/pkg_sign
/usr/share/doc/de_DE.ISO8859-1/books/handbook/portsnap.html
(省略)
この状態ではまだ
# freebsd-update -r 7.1-RELEASE install
としてカーネルの更新を行う。
Installing updates... Kernel updates have been installed. Please reboot and run "/usr/sbin/freebsd-update install" again to finish installing updates.
言われるままに再起動して、
# shutdown -r now
(再起動を待って、rootでログイン)
# freebsd-update install
筆者の環境で20分ほど待った後、
Installing updates... done.
再起動してメッセージを見ると、
# uname -a FreeBSD mitamachine 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 [email protected]:/usr/obj/usr/src/sys/GENERIC i386
おわりに
アップデートに意外と時間を取られ、
これは10ヵ月にわたる開発の結果で、