From owner-freebsd-small Tue Jul 2 6:49:43 2002 Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 654BC37B400 for ; Tue, 2 Jul 2002 06:49:39 -0700 (PDT) Received: from gehicks.dyndns.org (adsl-20-181-84.asm.bellsouth.net [66.20.181.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCDC643E2F for ; Tue, 2 Jul 2002 06:49:38 -0700 (PDT) (envelope-from gehicks@gehicks.dyndns.org) Received: from mac (mac [10.0.0.13]) by gehicks.dyndns.org (8.12.5/8.12.5) with ESMTP id g62DupZZ005231; Tue, 2 Jul 2002 13:56:51 GMT (envelope-from gehicks@gehicks.dyndns.org) Date: Tue, 2 Jul 2002 09:49:26 -0400 Subject: Re: Guide to reducing FreeBSD (a.k.a miniBSD :) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: To: "Manuel Kasper" From: W Gerald Hicks In-Reply-To: <000201c22194$171e66e0$8c7da8c0@CNMKA> Message-Id: <86134BD7-8DC2-11D6-BBF1-0030657B5F1E@gehicks.dyndns.org> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Very cool stuff! One thing I do here that is helpful... I've shot myself in the foot more than once playing around with PicoBSD. The builds spam your src/ directories with .o files and as one is hacking around it's easy to forget about patched src when building for your local system. For a blunderbuss approach it is easy enough to do *BSD hacking in a chroot environment. Although it takes a fair amount of space the artifacts leftover from a 'make release' are ideal for this purpose. Just do a make release into, for example, /usr/local/release and chroot into that directory using /bin/sh as the program to execute. Then you can hack and modify to your heart's content without affecting the root installation. I suppose a 'live filesystem' image would work for this purpose too. Thanks for an excellent contribution. Cheers, Jerry Hicks gehicks@gehicks.dyndns.org On Tuesday, July 2, 2002, at 02:45 AM, Manuel Kasper wrote: > Hi all, > > I've just finished my guide on how to strip FreeBSD of "unnecessary" > things without going as minimalistic as e.g. PicoBSD. I wanted something > in between a FreeBSD "minimal" install (which still takes up about 80 > MB) and PicoBSD. If you're interested, it's available on > > http://neon1.net/misc/minibsd.html > > I now have FreeBSD 4.6 running on my net4501 embedded PC from Soekris > Engineering (on which the guide is based); the operating system takes up > about 31 MB on the 64 MB CF card (including frills like perl, thttpd, > dhcpd, ...); without perl it works out to about 21 MB - so there's ample > space left for user data. I've tried not to sacrifice any important > funcionality, and so you can ssh/ftp in like on a normal FreeBSD system, > and most commands are available. > > I welcome any suggestions/feedback on how this guide could be improved. > > Greets, > > Manuel > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-small" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message