From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 18 22:36:40 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 710CD106564A for ; Tue, 18 Nov 2008 22:36:40 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from arcturus.maxiscale.com (arcturus.maxiscale.com [76.231.178.136]) by mx1.freebsd.org (Postfix) with ESMTP id 49C848FC19 for ; Tue, 18 Nov 2008 22:36:40 +0000 (UTC) (envelope-from psteele@maxiscale.com) X-ASG-Debug-ID: 1227047729-217d00000000-P5m3U7 X-Barracuda-URL: http://10.100.1.25:8000/cgi-bin/mark.cgi Received: from polaris.maxiscale.com (localhost [127.0.0.1]) by arcturus.maxiscale.com (Spam Firewall) with ESMTP id BC2C82FCCE for ; Tue, 18 Nov 2008 14:35:29 -0800 (PST) Received: from polaris.maxiscale.com (polaris.maxiscale.com [10.100.1.24]) by arcturus.maxiscale.com with ESMTP id FGs4QDlFZKxehi04 for ; Tue, 18 Nov 2008 14:35:29 -0800 (PST) X-ASG-Whitelist: Client X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-ASG-Orig-Subj: RE: How can I add new binaries to the mfsroot image? Date: Tue, 18 Nov 2008 14:35:26 -0800 Message-ID: <2ACA3DE8F9758A48B8BE2C7A847F91F240C996@polaris.maxiscale.com> In-Reply-To: <200811190843.01321.doconnor@gsoft.com.au> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How can I add new binaries to the mfsroot image? Thread-Index: AclJyt6XspXCTvWIQbGj9Ex74betyQAAq8KA References: <2ACA3DE8F9758A48B8BE2C7A847F91F23B502B@polaris.maxiscale.com> <200811182111.02367.doconnor@gsoft.com.au> <2ACA3DE8F9758A48B8BE2C7A847F91F240C920@polaris.maxiscale.com> <200811190843.01321.doconnor@gsoft.com.au> From: "Peter Steele" To: X-Barracuda-Connect: polaris.maxiscale.com[10.100.1.24] X-Barracuda-Start-Time: 1227047729 X-Barracuda-Virus-Scanned: by Barracuda Spam Firewall at maxiscale.com Subject: RE: How can I add new binaries to the mfsroot image? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2008 22:36:40 -0000 >You wouldn't have to do so - you could just run a shell script from sysinstall and do what you want. That brings me back to my original problem. Yes, I can run a shell script from sysinstall, but gmirror isn't available in mfsroot, and adding gmirror to mfsroot isn't straightforward because it needs shared libraries. I think the best approach to use may very well to have a custom boot that mounts root from an NFS disk. Then I can run whatever commands I need without having to actually add anything to mfsroot...