On Monday, 10 February 2003 at 0:14:04 -0600, Matthew D. Fuller wrote: > On Mon, Feb 10, 2003 at 10:32:14AM +1030 I heard the voice of > Greg 'groggy' Lehey, and lo! it spake thus: >> On Sunday, 9 February 2003 at 18:42:15 -0500, Bill Moran wrote: >>> >>> It's just a disk space issue then? Because ... if it doesn't eat up >>> RAM, I have a hard time thinking why I shouldn't have all my >>> binaries with debug symbols all of the time. >> >> I've been pushing for this, at least for the kernel build, for some >> time. It can make a big difference in the size of the directories, >> though. > > I've thought seriously several times about looking at making all my > buildworld'd binaries with debug symbols. I expect it'd eat a massive > chunk of drive space though. The kernel undergoes a rather notable size > increase: > -r-xr-xr-x 1 root wheel 4242610 Jan 18 06:38 /boot/kernel/kernel* > -rwxr-xr-x 1 root wheel 17684134 Jan 18 06:40 /boot/kernel/kernel.debug*
That's small. I have: -rwxr-xr-x 1 root lemis 5646507 Jan 27 14:52 /src/FreeBSD/5-RELEASE-SYDNEY/src/sys/i386/compile/SYDNEY/kernel -rwxr-xr-x 1 root lemis 31120011 Jan 27 14:51 /src/FreeBSD/5-RELEASE-SYDNEY/src/sys/i386/compile/SYDNEY/kernel.debug As you see, this is in the kernel build directory. There's no point in actually installing it into /boot. Also note: $ du -s /src/FreeBSD/5-RELEASE-SYDNEY/src/sys/i386/compile/SYDNEY 513 /src/FreeBSD/5-RELEASE-SYDNEY/src/sys/i386/compile/SYDNEY That's in MB. It does take up a lot of space. Greg -- See complete headers for address and phone numbers
msg18694/pgp00000.pgp
Description: PGP signature