From owner-freebsd-current Sun Sep 27 13:34:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA11524 for freebsd-current-outgoing; Sun, 27 Sep 1998 13:34:28 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA11519 for ; Sun, 27 Sep 1998 13:34:24 -0700 (PDT) (envelope-from fbsd@Ilsa.StevesCafe.com) Received: from Ilsa.StevesCafe.com (localhost.StevesCafe.com [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.8/8.8.5) with ESMTP id OAA07730; Sun, 27 Sep 1998 14:34:03 -0600 (MDT) Message-Id: <199809272034.OAA07730@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0.2 2/24/98 From: Steve Passe 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 In-reply-to: Your message of "Sun, 27 Sep 1998 15:29:17 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 27 Sep 1998 14:34:03 -0600 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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