From owner-freebsd-current@FreeBSD.ORG Mon Aug 8 23:53:12 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A03016A41F for ; Mon, 8 Aug 2005 23:53:12 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E58443D45 for ; Mon, 8 Aug 2005 23:53:11 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j78Nr6ow017871; Mon, 8 Aug 2005 16:53:06 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j78Nr6gL017868; Mon, 8 Aug 2005 16:53:06 -0700 Date: Mon, 8 Aug 2005 16:53:06 -0700 From: Brooks Davis To: drvince@anonymnet.net Message-ID: <20050808235306.GC7984@odin.ac.hmc.edu> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i7F3eY7HS/tUJxUd" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-current@freebsd.org Subject: Re: Suggestion X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2005 23:53:12 -0000 --i7F3eY7HS/tUJxUd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 08, 2005 at 07:35:18PM -0400, drvince@Safe-mail.net wrote: > Hi, > it would be nice to have a distribution for a skinny jail. It > could be a kind of "make release TYPE=3D{jail|dvd|cd|floppy} > CHROOTDIR=3D/path/to/jail CVSROOT=3D/usr/src". Now, solutions for > slimming jails are questionnable, doing so would standardize it. I've been playing with a slightly hacked up version of the nanobsd makefile[0] that results in an installed directory with the customizations I need for diskless booting (I boot full, self contained roots) rather than a disk image (basically I deleted the part where it makes the image from the installed directory and moved the working directory to DESTDIR). Generalizing this could be very useful for both diskless and jail users. I'm no where near ready to release anything, but you might try this as a starting point, particularly since nanobsd already has bits to shrink the image. -- Brooks [0] Yes I know it's being replaced by a shell script, I'll look at that after what I've got is working. --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --i7F3eY7HS/tUJxUd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFC9/BiXY6L6fI4GtQRApYnAJ9Xfvlrhw4Z3iikgGeMMd3OKc7iSACdG8Gq VSbtpqFuAd0DTfo6d4FR830= =Hrci -----END PGP SIGNATURE----- --i7F3eY7HS/tUJxUd--