Date: Sun, 27 Sep 1998 14:34:03 -0600 From: Steve Passe <smp@csn.net> To: jim@reptiles.org (Jim Mercer) Cc: dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?=), freebsd-current@FreeBSD.ORG Subject: Re: minor misrepresentation in 3.0-1980923 src/Makefile Message-ID: <199809272034.OAA07730@Ilsa.StevesCafe.com> In-Reply-To: Your message of "Sun, 27 Sep 1998 15:29:17 EDT." <m0zNMVR-00081bC@mailbox.reptiles.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, > > jim@reptiles.org (Jim Mercer) writes: > > > the makefile says you need at least 165M in /usr/obj for a full build. > > > > > > actually, the default build, without specifying -DNOAOUT, uses about 260M. > > > > Bollocks. It does use more than 165 MB, but nowhere near as much as > > you claim: > > > > root@fixus-ipv6 ~# df > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > /dev/wd0s2g 254063 203793 29945 87% /usr/obj > > root@fixus-ipv6 ~# du -sk /usr/obj/* > > 42012 /usr/obj/aout > > 161780 /usr/obj/elf > > draco2# df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/da0s2h 257943 236671 637 100% /usr/obj > draco2# du -sk /usr/obj/* > 56071 /usr/obj/aout > 180599 /usr/obj/elf > > well, ok, not 260M, in my case, 236M, but in any case, far above 165M. > > the difference could be related to /etc/make.conf. > > i'm using: > > FLAGS= -O -pipe > NO_SENDMAIL= true > COPTFLAGS= -O -pipe src cvsup'ed this morning: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da2e 297663 238876 34974 87% /usr/obj /dev/da1e 297663 261734 12116 96% /usr/src CFLAGS= -O -pipe COPTFLAGS= -O -pipe when sizing partitions don't forget the overhead. For example, in the above numbers I have a 297663-1Kblock partition. I am using 238876 for obj, but only have 34974 left (238876 + 34974 = 273850, 297663 - 273850 = 23813 BLOCKS for overhead). If you add the actual blockcount needed to the approx. overhead of the filesystem you get: 238876 + 23813 = 262689. So a claim of needing 260M is pretty accurate if speaking of RAW partition size. I would say that RAW partition sizes of 350/400M src, 300M obj would be quite reasonable, depending of course on what you do inside src. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809272034.OAA07730>