From owner-freebsd-current Mon Dec 11 13:17: 7 2000 From owner-freebsd-current@FreeBSD.ORG Mon Dec 11 13:17:03 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from turtle.looksharp.net (cc360882-a.strhg1.mi.home.com [24.2.221.22]) by hub.freebsd.org (Postfix) with ESMTP id 88DAC37B699 for ; Mon, 11 Dec 2000 13:17:02 -0800 (PST) Received: from localhost (bandix@localhost) by turtle.looksharp.net (8.9.3/8.9.3) with ESMTP id QAA11678; Mon, 11 Dec 2000 16:17:11 -0500 (EST) (envelope-from bandix@looksharp.net) Date: Mon, 11 Dec 2000 16:17:11 -0500 (EST) From: "Brandon D. Valentine" To: "Michael C . Wu" Cc: David Gilbert , Brian Dean , Mike Meyer , current@FreeBSD.ORG Subject: Re: [current] Re: Confusing error messages from shell image activation In-Reply-To: <20001211112908.B39546@peorth.iteration.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 11 Dec 2000, Michael C . Wu wrote: >I know I should not jump into this bikeshed. But IMHO, whereever >we have our packages install to, we should also place >our ports metadata (/var/db/pkg) and the ports skeleton in the >same place, preferably a mountpoint. This allow me to switch >between different sets of installation with ease. (No, please >do not tell me to change PREFIX and mv /usr/local /usr/local.bak) >With this setup, I can rm -rf , and >have a clean system again. For the ports developers, we can >switch between configurations without the need for chroots or >jails taking up disk space. I would agree strongly with this. Something like: /usr/ pkg/ bin/ db/ <-- /var/db/pkg, why is that in /var anyway? it's not exactly temporary or transient information. etc/ include/ info/ lib/ libexec/ man/ sbin/ share/ src/ <-- /usr/ports/* This would make it easy for one to return his system to a pristine state. Simply removing /usr/pkg would get rid of all third-party information. It makes sense to package this entire directory together. If one wanted a fresh system he could remove /usr/pkg, do a make world, and tell mtree to remove anything not in the system mtree file. -- Brandon D. Valentine "Few things are harder to put up with than the annoyance of a good example." -- Mark Twain, Pudd'nhead Wilson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message