From owner-freebsd-stable Sun Oct 6 13:34:28 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0832F37B401 for ; Sun, 6 Oct 2002 13:34:27 -0700 (PDT) Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFF2643E4A for ; Sun, 6 Oct 2002 13:34:25 -0700 (PDT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [IPv6:::1]) by lurza.secnetix.de (8.12.5/8.12.5) with ESMTP id g96KYNmC052626 for ; Sun, 6 Oct 2002 22:34:24 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.5/8.12.5/Submit) id g96KYNBR052625; Sun, 6 Oct 2002 22:34:23 +0200 (CEST) Date: Sun, 6 Oct 2002 22:34:23 +0200 (CEST) Message-Id: <200210062034.g96KYNBR052625@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG Reply-To: freebsd-stable@FreeBSD.ORG Subject: Re: small install In-Reply-To: <3D9EF799.3030309@tenebras.com> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.6-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Michael Sierchio wrote: > Oliver Fromme wrote: > > On my own embedded system (not a firewall, though) I have > > removed the compiler toolchain, all static libraries, perl > > and a few other things that weren't needed. All of that > > for space reasons, because the machine boots from a 48 MB > > compactflash card. I got the size of the system down to > > 32 MB, even though I installed quite a few "convenience" > > tools (a non-standard editor, my favourite shell [zsh], > > lsof, strace, cpdup and a bunch of other must-have tools, > > as well as OSS which accounts for another 3 MB). > > Do you have a programmatic way of removing these? I'm afraid not, it was pretty much a one-time action. But I made a pretty simple approach anyway by removing everything that smelled like perl, compiler tool chain, all static libs etc. I also removed some large static binaries that I don't need, such as vinum, ipfstat and dhclient, each of which are about half an Mbyte. With a little more effort I guess the space requirement could be redurced even further, but I had enough air to breathe on my 48 Mbyte compactflash card. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message