From owner-freebsd-arch@FreeBSD.ORG Sat Aug 6 09:22:55 2005 Return-Path: X-Original-To: freebsd-arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71D6E16A41F; Sat, 6 Aug 2005 09:22:55 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE5A943D48; Sat, 6 Aug 2005 09:22:54 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.3/8.13.3/NinthNine) with SMTP id j769Mr6r069800; Sat, 6 Aug 2005 18:22:53 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Sat, 6 Aug 2005 18:22:53 +0900 (JST) Message-Id: <200508060922.j769Mr6r069800@sakura.ninth-nine.com> From: Norikatsu Shigemura To: Colin Percival In-Reply-To: <42F47C0D.2020704@freebsd.org> References: <42F47C0D.2020704@freebsd.org> X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (sakura.ninth-nine.com [219.127.74.121]); Sat, 06 Aug 2005 18:22:53 +0900 (JST) Cc: freebsd-arch@FreeBSD.org Subject: Re: /usr/portsnap vs. /var/db/portsnap X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2005 09:22:55 -0000 On Sat, 06 Aug 2005 01:59:57 -0700 Colin Percival wrote: > Portsnap keeps a compressed snapshot of the ports tree, requiring > roughly 50MB and 13000 inodes. The "natural" place for this to go > would be in /var/db/, but I suspect that this would cause problems > for many users, particularly when it comes to the number of inodes. > Is this a reasonable excuse for violating hier(7) and putting the > compressed snapshot into /usr/portsnap? For reference, the port keeps > the snapshot in /usr/local/portsnap. Cvsup (/usr/share/examples/cvsup/ports-supfile) put /var/db/sup. So portsnap should put on /var/db. At least, we should be able to 'mount -ro /usr'. /var/db/portsnap causes a problem to users, ln -s /usr/portsnap /var/db/portnap.