FreeBSD 7.1 を 7.2にしてみる。
flora# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 507630 314650 152370 67% / devfs 1 1 0 100% /dev /dev/ad0s1e 507630 16 467004 0% /tmp /dev/ad0s1f 300010694 11894074 264115766 4% /usr /dev/ad0s1d 1243598 909826 234286 80% /var devfs 1 1 0 100% /var/named/dev
flora では、/var が /var/db/freebsd-update で圧迫されているので、
flora
flora# mkdir /usr/freebsd-update flora# cd /var/db/freebsd-update/ flora# cp -Rp * /usr/freebsd-update/ flora# rm -R freebsd-update/ flora# ln -s /usr/freebsd-update freebsd-update
して、
flora# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 507630 314650 152370 67% / devfs 1 1 0 100% /dev /dev/ad0s1e 507630 16 467004 0% /tmp /dev/ad0s1f 300010694 12514198 263495642 5% /usr /dev/ad0s1d 1243598 289744 854368 25% /var devfs 1 1 0 100% /var/named/dev
しておく。
freebsd-update -r 7.2-RELEASE upgrade
/etc/crontab 30 3 * * * root /root/CVSUP/7_2/cvsup-releng_7_2.sh
Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 7.1-RELEASE from update5.FreeBSD.org... done. Fetching metadata index... done. Fetching 2 metadata patches.. done. Applying metadata patches... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic src/base src/bin src/cddl 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/sys src/tools src/ubin src/usbin world/base world/catpages world/dict world/doc world/games world/info world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: Does this look reasonable (y/n)? y Fetching metadata signature for 7.2-RELEASE from update5.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.1-RELEASE for merging... done. Preparing to download files... File changed while FreeBSD Update running: /etc/crontab flora#