From owner-freebsd-questions Thu Feb 7 20:38: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from Mail6.nc.rr.com (fe6.southeast.rr.com [24.93.67.53]) by hub.freebsd.org (Postfix) with ESMTP id D0A9837B42C for ; Thu, 7 Feb 2002 20:37:53 -0800 (PST) Received: from i8k.babbleon.org ([66.57.85.154]) by Mail6.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Thu, 7 Feb 2002 23:37:48 -0500 Received: by i8k.babbleon.org (Postfix, from userid 111) id ECEBF408A; Thu, 7 Feb 2002 23:33:08 -0500 (EST) Content-Type: text/plain; charset="iso-2022-jp" From: Brian T.Schellenberger To: "Taro Ikai" , Subject: Re: /var short of disk space because of /var/pkg/db Date: Thu, 7 Feb 2002 23:33:08 -0500 X-Mailer: KMail [version 1.3] References: <053201c1afed$9e47a550$c801a8c0@p1400> In-Reply-To: <053201c1afed$9e47a550$c801a8c0@p1400> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020208043308.ECEBF408A@i8k.babbleon.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thursday 07 February 2002 10:39 am, Taro Ikai wrote: > My /var partition got full. > > I had the FreeBSD installer automatically allocate partitions, and > as a result, my /var partition is less than 20MB in size. > > Recently I started using portupgrade, and the program fattened > the files under /var/pkg/db. > > Question: > > 1) Can I temporarily delete /var/pkg/db/*? Can I then safely > remake the content of this directory using portsdb? > > 2) Can I make the system use space under /usr instead of > /var/pkg/db? Sure. Just mkdir /usr/pkg mv /var/pkg /usr ln -s /usr/pkg /var voila! Your package info lives under /usr (or anyplace else you want it). Or you can put just the database itself under /usr; I find it more elegant/understandable to move entire directories in cases like this, but that's up to you. > > Taro > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) ME --> http://www.babbleon.org http://www.eff.org <-- GOOD GUYS --> http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message