From owner-freebsd-questions Thu Jan 23 1:56:56 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6A5E37B401 for ; Thu, 23 Jan 2003 01:56:54 -0800 (PST) Received: from pd3mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F5F143F13 for ; Thu, 23 Jan 2003 01:56:54 -0800 (PST) (envelope-from jens@zoology.ubc.ca) Received: from pd5mr2so.prod.shaw.ca (pd5mr2so-qfe3.prod.shaw.ca [10.0.141.233]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H950097JVMT54@l-daemon> for freebsd-questions@freebsd.org; Thu, 23 Jan 2003 02:56:53 -0700 (MST) Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H9500D25VMTJP@l-daemon> for freebsd-questions@freebsd.org; Thu, 23 Jan 2003 02:56:53 -0700 (MST) Received: from [10.112.119.100] (h24-68-118-117.vc.shawcable.net [24.68.118.117]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H9500ECNVMSDN@l-daemon> for freebsd-questions@freebsd.org; Thu, 23 Jan 2003 02:56:53 -0700 (MST) Date: Thu, 23 Jan 2003 01:56:51 -0800 From: Jens Haeusser Subject: Installing Stripped System To: freebsd-questions@freebsd.org Message-id: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT User-Agent: Microsoft-Entourage/10.1.0.2006 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'd like to install a system lacking some of the binaries you can specify as make.conf knobs, such as NO_I4B= true NO_IPFILTER= true NOGAMES= true NOUUCP= true NO_SENDMAIL= true Even when I install a minimal system from an install CD (just bin), and then cvsup and make world with the above in /etc/make.conf , the original binary files are still around. I can remove them manually by going into the various directories (/bin, /sbin, /usr/bin, /usr/sbin, /usr/libexec) and removing any files older than my installworld date, but that still leaves crud in /usr/share, etc. Is there a better way to either do a stripped install, or to remove the files programmatically? Using a simple command like "find / \! -mtime 1 -print" also finds files in /usr/include, /usr/share/man, etc. that I don't want to remove. Jens Haeusser Network Manager Zoology, UBC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message