[darwinbuild] Building xnu

Shantonu Sen ssen at opendarwin.org
Fri Aug 5 20:09:54 PDT 2005

same way you set it:
"nvram boot-file"

As long as you don't change it, it will reflect the last value you  
set it to.


On Aug 5, 2005, at 7:55 PM, Alastair Rankine wrote:

> 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
> _______________________________________________
> darwinbuild mailing list
> darwinbuild at opendarwin.org
> http://www.opendarwin.org/mailman/listinfo/darwinbuild

More information about the darwinbuild-dev mailing list