From owner-freebsd-embedded@FreeBSD.ORG Fri May 18 17:51:34 2007 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 160CC16A401 for ; Fri, 18 May 2007 17:51:34 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id CB98C13C458 for ; Fri, 18 May 2007 17:51:33 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l4IHmMOc097620; Fri, 18 May 2007 11:48:23 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 18 May 2007 13:48:26 -0400 (EDT) Message-Id: <20070518.134826.-432837717.imp@bsdimp.com> To: bsenthil@adventnet.com From: "M. Warner Losh" In-Reply-To: <464DD48B.1070202@adventnet.com> References: <464DD48B.1070202@adventnet.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Fri, 18 May 2007 11:48:23 -0600 (MDT) Cc: freebsd-embedded@freebsd.org Subject: Re: customized strip down freebsd OS (less than 50MB) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2007 17:51:34 -0000 In message: <464DD48B.1070202@adventnet.com> bsenthil writes: : Hi, : : I am looking for mini freebsd customized OS (less than 50MB). Is it : possible to customize the freebsd to below 50MB? : : The list of modules i run over freebsd OS : 1. TCP/IP stack : 2. package installation. : 3. File read and write operation : 4. Apache server Web server, you mean? Apache and small aren't mates. : What is the minimum size of the stripped freebsd OS ? I've booted a minimal FreeBSD/arm ramdisk that fits in a 8MB flash part. I have a fuller FreeBSD/arm system that's 42MB (uncompressed), including a 15MB JRE/web tools, approx 6MB of snmp support code, and ~4MB of application code. The minimal system is like 16MB (numbers rounded). This includes thttpd, which supports many of the things apache does, but is much smaller. For a different product, I have a 13MB FreeBSD/i386 base with 2MB of application code. : Please let me know detail/link how to customize freebsd OS. I'd use the tinybsd tools in FreeBSD. We did this with a customized set of build tools that we've been using since before there was a tinybsd... Warner