Odd sysctl -d kern.bootfile result
- Reply: Kyle Evans : "Re: Odd sysctl -d kern.bootfile result"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Nov 2022 04:14:50 UTC
The context: # ls -Tldt /boot/kern*/kernel -r-xr-xr-x 1 root wheel 40003240 Nov 6 16:32:05 2022 /boot/kernel/kernel -r-xr-xr-x 1 root wheel 39990232 Jul 6 11:21:16 2022 /boot/kernel.old/kernel -r-xr-xr-x 1 root wheel 31401824 Aug 19 03:16:29 2021 /boot/kernel.dbg/kernel # uname -apKU # Note: output line split for readability FreeBSD amd64_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #55 main-n259064-f83db6441a2f-dirty: Sun Nov 6 16:31:55 PST 2022 root@amd64_ZFS:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/sys/GENERIC-NODBG amd64 amd64 1400073 1400073 But . . . # sysctl -d kern.bootfile kern.bootfile: Name of kernel file booted # sysctl -W kern.bootfile kern.bootfile: /boot/kernel.old/kernel Looks wrong to me. (I've never explicitly assigned to kern.bootfile .) === Mark Millard marklmi at yahoo.com