From owner-freebsd-embedded@FreeBSD.ORG Wed Oct 29 22:11:22 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3F50106564A for ; Wed, 29 Oct 2008 22:11:22 +0000 (UTC) (envelope-from mah@jump-ing.de) Received: from mail.ud03.udmedia.de (ud03.udmedia.de [194.117.254.43]) by mx1.freebsd.org (Postfix) with ESMTP id D871B8FC1F for ; Wed, 29 Oct 2008 22:11:21 +0000 (UTC) (envelope-from mah@jump-ing.de) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h= mime-version:to:message-id:content-type:from:subject:date; q= dns/txt; s=beta; bh=Vz68J4f0aBHoQp/wQepILxVwGe65rLjf22FPhK4XWWs=; b= sCfeMxaEwKmT3QoaurPb3ZrZUnULVfCNRFEbbLNtfBzOvQIovyZqoEa6SIgsH/yY RWgRZZpytVsaT6vHe0jwRgpi4b54rX1IdVSA1gUa8lIln8lCRGJDLxpZIxTpPu3c GFkOXbJBMrQq8xcJtunjp8/IbUN00BY8gyHK2jKEVwg= Received: (qmail 7647 invoked from network); 29 Oct 2008 23:11:17 +0100 Received: from unknown (HELO ?10.0.0.50?) (ud03?291p1@78.42.122.222) by mail.ud03.udmedia.de with ESMTPA; 29 Oct 2008 23:11:17 +0100 Mime-Version: 1.0 (Apple Message framework v753.1) To: freebsd-embedded@freebsd.org Message-Id: <40D69C3A-16B9-4370-B9D5-FCD6FDF87EE4@jump-ing.de> Content-Type: multipart/mixed; boundary=Apple-Mail-47-50457130 From: Markus Hitter Date: Wed, 29 Oct 2008 23:11:16 +0100 X-Mailer: Apple Mail (2.753.1) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD kompakt 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: Wed, 29 Oct 2008 22:11:23 -0000 --Apple-Mail-47-50457130 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hello all, as promised, I've extracted the tinybsd related files from my current environment. Currently I build images with less than 6 MB disk space used. This is the bare minimum, of course. You can boot, log in, have a shell (/bin/sh only) and that's it. Cron, syslog and the likes should work. The main reason why I'm sending this is, I modified tinybsd pretty hefty, resulting in an almost-rewrite. Nevertheless, everything works as before, just a lot faster: kernel is built on demand only, the remaining part takes about 20 seconds. Additionally, the full file hierarchy is left aside, directories are created as needed. For more details I've left some comments in the script. Please let me know what you think about this and which parts I should extract as a precise patch for inclusion in FreeBSD. --Apple-Mail-47-50457130 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Cheers, MarKus - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/ --Apple-Mail-47-50457130--