From owner-freebsd-current@FreeBSD.ORG Sun Jul 31 13:23:50 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A014916A41F for ; Sun, 31 Jul 2005 13:23:50 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from haven.freebsd.dk (haven.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2628A43D62 for ; Sun, 31 Jul 2005 13:23:49 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (unknown [192.168.48.2]) by haven.freebsd.dk (Postfix) with ESMTP id 93656BC6B for ; Sun, 31 Jul 2005 13:23:47 +0000 (UTC) To: current@freebsd.org From: Poul-Henning Kamp Date: Sun, 31 Jul 2005 15:23:47 +0200 Message-ID: <10379.1122816227@phk.freebsd.dk> Sender: phk@phk.freebsd.dk Cc: Subject: build option survey X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jul 2005 13:23:50 -0000 I'm working on a script which will survey the various build options (NO_FOO, NO_BAR etc) and what their impact is on the installed system footprint. http://phk.freebsd.dk/misc/kernel_options/HTML/ The table shows size of the total installworld image, including the GENERIC kernel. Delta is the number of blocks compared to a full installworld, and no, I'm not quite sure yet why some of them take more space. Number of extra files and number of eliminated files (these link to a "mtree -f -f" output file so you can see which they were. When done chewing, all the options will be tested for their effect during "installworld only", "buildworld only" and "build+installworld" usage. When completed, this script will end up under src/tools/tools Poul-Henning PS: Interestingly, this survey has theological implications as well as it proves the long held belief that C++ is evil: The NO_CXX option which prevents the installation of this evilness eliminates exactly 666 files :-) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.