1) Когда необходимо выполнять make cleandir ? Причем если брать русский хэндбук там рекомендуют выполнение аж 2 раза.
2) После make buildkernel KERNCONF=MYKERNEL было сообщение:
Код: Выделить всё
Don't forget to do ``make cleandepend && make depend''
3) freebsd-update fetch указывает на возможное обновление файлов:
Если я только что обновил мир, ядро и всё пересобиралось, то как получить ОС в актуальном состоянии со всеми обновлениями? Пробовал еще делать так:
Код: Выделить всё
rm -rf /usr/src
svn co svn://svn.freebsd.org/base/releng/9.3 /usr/src
svn up /usr/src
Затем стандартно по Makefile.
# 1. `cd /usr/src' (or to the directory containing your source tree).
# 2. `make buildworld'
# 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
# 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
# [steps 3. & 4. can be combined by using the "kernel" target]
# 5. `reboot' (in single user mode: boot -s from the loader prompt).
# 6. `mergemaster -p'
# 7. `make installworld'
# 8. `make delete-old'
# 9. `mergemaster' (you may wish to use -i, along with -U or -F).
# 10. `reboot'
# 11. `make delete-old-libs' (in case no 3rd party program uses them anymore)
Код: Выделить всё
freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 5 mirrors found.
Fetching metadata signature for 9.3-RELEASE from update6.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
The following files are affected by updates, but no changes have
been downloaded because the files have been modified locally:
/var/db/mergemaster.mtree
The following files will be updated as part of updating to 9.3-RELEASE-p2:
/boot/kernel/kernel
/lib/libcrypto.so.6
/usr/lib/libcrypto.a
/usr/lib/libcrypto_p.a
/usr/lib/libssl.a
/usr/lib/libssl.so.6
/usr/lib/libssl_p.a
/usr/lib32/libcrypto.a
/usr/lib32/libcrypto.so.6
/usr/lib32/libcrypto_p.a
/usr/lib32/libssl.a
/usr/lib32/libssl.so.6
/usr/lib32/libssl_p.a
/usr/src/sys/conf/newvers.sh
/usr/src/sys/netinet/tcp_input.c
4) ZFS просит обновить пул для задействования новых особенностей.
Код: Выделить всё
zpool status
pool: zroot
state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(7) for details.
scan: none requested
config:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gpt/disk0 ONLINE 0 0 0
gpt/disk1 ONLINE 0 0 0
spares
gpt/disk2 AVAIL
errors: No known data errors
Есть ли риск что-то навернуть после zpool uprade ? Я так понимаю добавились эти опции ну и версия видимо новей:
Код: Выделить всё
zroot feature@multi_vdev_crash_dump disabled local
zroot feature@spacemap_histogram disabled local
zroot feature@enabled_txg disabled local
zroot feature@hole_birth disabled local
zroot feature@extensible_dataset disabled local
zroot feature@bookmarks disabled local
zroot feature@filesystem_limits disabled local