From owner-freebsd-small@FreeBSD.ORG Wed Jun 16 07:17:31 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 2334616A4CE for ; Wed, 16 Jun 2004 07:17:31 +0000 (GMT) Received: from mail.u4eatech.com (blackhole.u4eatech.com [195.188.241.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38C0243D5C for ; Wed, 16 Jun 2004 07:17:30 +0000 (GMT) (envelope-from richard.williamson@u4eatech.com) Received: by mail.u4eatech.com (Postfix, from userid 503) id 096F136047C; Wed, 16 Jun 2004 08:17:14 +0100 (BST) Received: from apus.u4eatech.com (apus.degree2.com [172.30.40.129]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by mail.u4eatech.com (Postfix) with ESMTP id 333FC360469; Wed, 16 Jun 2004 08:17:06 +0100 (BST) Message-Id: <6.1.1.1.2.20040616080628.027a8bd0@cygnus> X-Sender: richard@cygnus X-Mailer: QUALCOMM Windows Eudora Version 6.1.1.1 Date: Wed, 16 Jun 2004 08:18:29 +0100 To: Martin Nilsson , freebsd-small@freebsd.org From: "Richard P. Williamson" In-Reply-To: <40CF0BF8.3040206@mullet.se> References: <40CEBC17.9050602@mullet.se> <20040615115341.GA20812@aoi.wolfpond.org> <40CEFDBC.8000108@univ-mlv.fr> <40CF0BF8.3040206@mullet.se> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mail X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Subject: Re: [Thinbsd] Re: ThinBSD with other videodriver 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: Wed, 16 Jun 2004 07:17:31 -0000 At 15:47 15/06/2004. Martin Nilsson had this to say: >The sysinstall part could probably be made a lot easier by calling fdisk & disklabel directly from a script but the above was the way I knew would work. I did do it from scripts. Unless you understand the ins and outs of disklabel et al., it can be quite painful trying to figure out what you need to get it working. For the simplicity, if I were doing a FAQ on this, I would say 'use sysinstall unless you can quote the disklabel and newfs manpages verbatim from memory' >>as it is done with pexes project maybe we could write a config script >>that put in the ramdisk only the drivers needed >>for a specific configuration. better than see the ramdisk grow to >>support every thinclient hardware in the world. >>something like the openbsd installer that config the keyboard, >>drivers, etc... > >Having a smorgasbord of compiled binaries for different programs, drivers etc to choose from when creating the mfsroot would probably be smart. A small script could then ask which ones to include on the ramdisk. lld is also a friend here, because you can ldd your binaries to find out which shared libs are required for the binaries on the ramdisk. Which means you can dump any that aren't and save the space. rip