From owner-freebsd-small@FreeBSD.ORG Thu Mar 11 11:53:05 2004 Return-Path: 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 6632E16A4CE; Thu, 11 Mar 2004 11:53:05 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DBE743D2F; Thu, 11 Mar 2004 11:53:04 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i2BJdCLA052730; Thu, 11 Mar 2004 20:39:13 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Robert Blacquiere From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 11 Mar 2004 20:37:07 +0100." <20040311193707.GX52357@bombur.guldan.demon.nl> Date: Thu, 11 Mar 2004 20:39:12 +0100 Message-ID: <52729.1079033952@critter.freebsd.dk> cc: current@freebsd.org cc: small@freebsd.org Subject: Re: "nanobsd" prototype X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 19:53:05 -0000 In message <20040311193707.GX52357@bombur.guldan.demon.nl>, Robert Blacquiere w rites: >On Thu, Mar 11, 2004 at 02:32:18PM +0100, Poul-Henning Kamp wrote: >> In message <20040310145133.GU52357@bombur.guldan.demon.nl>, Robert Blacquiere w >> rites: >> > >> >Just a thought, i did not read the full patch, what "base" >> >apps/progs are installed? If i look at something like opensoekris, >> >flashbsd or picobsd it looks in a file which apps are wanted, and >> >then searches the libs to go with it. I don't know yet how big this >> >nanobsd will be. But if we use something like or picobsd like crunch >> >conf to select the programms we need, and only install these. >> >> nanobsd contains nothing but a cut down FreeBSD distribution, anything >> you want in addition to that you must put on there yourself. >> >> The makefile contains a target called Customize where you can do that >> sort of stuff. >> >> The point of nanobsd is simply to create a tool for putting FreeBSD >> on small media for embedded computers. > >Yes i know, but i was thinking of shrinking it more. Just install what is >needed. things like dd, pax, mount_(obscurefs and unneededfs) etc just to >name a few which i don't need on my machine 32 mb flash card. But i know >it should be configurable enough and have a base to work from. >Is there a list of progs which get installed with libs etc? > >I have seen the make.conf with mostly everything NO_${SOMETHING}=yes >But i think this methode is reverse of what i want. I make a list of >programs i need sh, ifconfig, wicontrol, mount etc for my "appliance". >And have a script which lists all libs needed. This way i think i have >trimmed down FreeBSD to a bare minimum for my system. I want nanobsd to use the normal build/installworld targets, but feel free to prune your system in the Customize target. -- 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.