From owner-freebsd-current@FreeBSD.ORG Tue Jun 21 13:25:55 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 5008216A420 for ; Tue, 21 Jun 2005 13:25:55 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1387143D1D for ; Tue, 21 Jun 2005 13:25:54 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix3-1.free.fr (Postfix) with ESMTP id 1ADEF173500; Tue, 21 Jun 2005 15:25:52 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 8EE09405B; Tue, 21 Jun 2005 15:26:08 +0200 (CEST) Date: Tue, 21 Jun 2005 15:26:08 +0200 From: Jeremie Le Hen To: "Matthew D. Fuller" Message-ID: <20050621132608.GF738@obiwan.tataz.chchile.org> References: <20050619155228.Y6413@fledge.watson.org> <66959.1119209763@critter.freebsd.dk> <20050619213612.GD8597@over-yonder.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050619213612.GD8597@over-yonder.net> User-Agent: Mutt/1.5.9i Cc: current@FreeBSD.org Subject: Re: Summary: experiences with NanoBSD, successes and nits on a Soekris 4801 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: Tue, 21 Jun 2005 13:25:55 -0000 Hi Matthew, > I have to wonder if exclusion is a better route than inclusion. > > I've got several Soekris boxes (4501) out in production, running I > think a 4.7ish FreeBSD. But I built up the images by including things > in. I did a full normal buildworld, and a DESTDIR'd installworld. I > didn't use any special options to trim out pieces of programs; just a > few simple tweaks like -Os compiling Then I used a list of the > programs, and used some ldd'ing and sed'ing in the Makefile to get all > the libraries needed and copy everything over to another staging dir. > > Of course, manual tweaking for config files was needed. I handwrote > the whole rc bootup process (independant scripts for ease of manual > fiddling, but with a hardcoded sequence for the bootup process). > Hand-trimmed passwd/group files. I had to pull some libraries > manually (PAM was the major "offender" here). And so on; not stuff > that would really fit in the NanoBSD schema. > > I built them rather more general than the project required, so I > wouldn't have to carefully craft each future use; they had everything > necessary to do most networking jobs you'd stick a 4501 in for. It > still came in around around the 20 meg line. Is your work publishable ? In this case, I would be glad to have a look at it. Thank you. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >