From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 29 15:33:49 2005 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D379616A41F for ; Fri, 29 Jul 2005 15:33:49 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 632A443D48 for ; Fri, 29 Jul 2005 15:33:48 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: from beastie.frontfree.net (unknown [219.239.99.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 2F7E3EB4483 for ; Fri, 29 Jul 2005 23:33:46 +0800 (CST) Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id CA8D6135572; Fri, 29 Jul 2005 23:33:43 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 52787-06; Fri, 29 Jul 2005 23:33:37 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id 90621136104; Fri, 29 Jul 2005 23:33:35 +0800 (CST) Date: Fri, 29 Jul 2005 23:33:35 +0800 From: Xin LI To: Joerg Sonnenberger Message-ID: <20050729153335.GA52464@frontfree.net> References: <20050728155234.GA14880@frontfree.net> <20050728160732.GA964@britannica.bec.de> <20050729042444.GA39960@frontfree.net> <20050729144349.GC1002@britannica.bec.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: <20050729144349.GC1002@britannica.bec.de> User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #4: Thu Jul 28 10:59:26 CST 2005 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: amavisd-new at frontfree.net Cc: freebsd-hackers@FreeBSD.org Subject: Re: [RFC] Add usr/ports to BSD.usr.mtree 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: Fri, 29 Jul 2005 15:33:50 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Joerg, On Fri, Jul 29, 2005 at 04:43:49PM +0200, Joerg Sonnenberger wrote: > On Fri, Jul 29, 2005 at 12:24:44PM +0800, Xin LI wrote: > > My points to have /usr/ports in the mtree is for convience that users > > creating a jail that is intended to mount the ports tree from the host > > system, without having to create their own in every instances. What > > do you think about this? >=20 > My point of view is that it blurs the distinction between base system > and local extensions. It surely is convient, but I often scratch my > head when I find empty directories on my system. Don't you start to > wonder what those directories exist for? I think I won't if the directory is a well-known one... But I buy your "blur the distinction between base system and local extension" :-) > Back to the given example of mounting ports into multiple jails, > wouldn't you normally have the ports tree only in one jail and use that > for all building? The dinoex scripts come to my mind. This seems to be true only when the jail is provided for one single administrator. For a virtual hosting environment, you will want to run different OS versions inside jail (the development hosting box runs FreeBSD 6.0, 5.4, 5.3, 4.11 and 4.8 inside different jails), and just let the users to choose which application they want. Of course this needs some tricks like WRKDIRPREFIX tweaking inside every jails, and FETCH_CMD to point a hook that fetches all distfiles on behalf of the user, with all read-only ports tree. I will think about other solutions of the usr/ports handling, then. Thanks for the input! Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC6kxP/cVsHxFZiIoRAuymAJ9xGKb1PnFQeSoE73PRxeWHrKjt1gCeKxQ3 PaCDe4JkAqIEsBF8c4gzfok= =3Bzt -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi--