From owner-freebsd-questions Mon Sep 2 11:49:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CBB837B400 for ; Mon, 2 Sep 2002 11:49:26 -0700 (PDT) Received: from www.clubplus.net (ns1.clubplus.net [216.191.22.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6143543E6A for ; Mon, 2 Sep 2002 11:49:25 -0700 (PDT) (envelope-from david@skytrackercanada.com) Received: from skytrackercanada.com (cust29.209.188.66.dsl.accessv.com [209.188.66.29]) by www.clubplus.net (8.11.4/8.11.1) with ESMTP id g82IhtB03191 for ; Mon, 2 Sep 2002 14:43:58 -0400 Received: (from david@localhost) by skytrackercanada.com (8.12.3/8.12.3) id g82IU2sL011249; Mon, 2 Sep 2002 14:30:02 -0400 (EDT) (envelope-from david) Date: Mon, 2 Sep 2002 14:30:02 -0400 From: David Banning To: Unix Tools Cc: questions@freebsd.org Subject: Re: logs take up too much space Message-ID: <20020902143002.A11191@skytrackercanada.com> References: <20020901030500.A89971@skytrackercanada.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from unixtools@hotmail.com on Mon, Sep 02, 2002 at 12:08:46PM +0530 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 Thanks for your reply. > It seems your var partition is vary small. yes > just symlink directories on /var > > 1) mv /var/tmp /usr and ln -s /usr/tmp /var/tmp done > 2) mv /var/mail /usr and ln -s /usr/mail /var/mail done > 3) mv /var/log /usr and ln -s /usr/log /var/log I didn't do this becuase I figured that I then couldn't get logs while running in single user mode - which I rarely do, but I didn't want to set myself up for trouble. I guess I could always delete the link, and create the directory for single user mode, if I need to go there. > > Rotating logs is also a solution. > But most of the softwares rotate logs by default. Is it possible to change the default? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message