[darwinbuild] Size of mach_kernel when using darwinbuild?

James Reynolds james123 at scl.utah.edu
Fri Nov 4 13:57:05 PST 2005


I used darwinbuild to build xnu-792.6.22 and it seems to me the file 
sizes are a bit high:


ls -l Roots/xnu/xnu-792.6.22.root~1/mach_kernel
-rw-r--r--   1 root  wheel  7790644 Nov  4 15:03 
Roots/xnu/xnu-792.6.22.root~1/mach_kernel

ls -l Symbols/xnu/xnu-792.6.22.sym~1/mach_kernel
-rw-r--r--   1 root  wheel  51211964 Nov  4 15:03 
Symbols/xnu/xnu-792.6.22.sym~1/mach_kernel

ls -l /mach_kernel
-rw-r--r--   1 root  wheel  4330232 Oct  3 21:04 /mach_kernel

How is it that the version in Roots is so much larger than the 
version with symbols?

After mounting a case system file system with permissions on, I just 
ran these 3 commands (fluff removed):

/usr/local/bin/darwinbuild -init 8F46
/usr/local/bin/darwinbuild -fetch xnu
/usr/local/bin/darwinbuild xnu

Any ideas?

--

Thanks,

James Reynolds
University of Utah
Student Computing Labs
james at scl.utah.edu
801-585-9811



More information about the darwinbuild-dev mailing list