6 Aug
2005
6 Aug
'05
2:55 a.m.
Mark Pauley wrote:
I say probably because there doesn't seem to be any way to determine which kernel I'm booting from. The older (7.x) xnu kernels reported the kernel file path in their dmesg output - the 8.x series don't seem to. Not in the sysctl MIB either. Is there any way to retrieve this information do you know?
Have you tried uname -a? It should tell you the kernel version you're using...
Thanks, but that wasn't what I was after. I want to know the filename of the kernel. On most darwin systems it is /mach_kernel. I want a way to determine whether I am booting off /mach_kernel or /mach_kernel.new or whatever