Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2002 12:08:46 +0530
From:      "Unix Tools" <unixtools@hotmail.com>
To:        "David Banning" <david@skytrackercanada.com>, <questions@freebsd.org>
Subject:   Re: logs take up too much space
Message-ID:  <OE17pHDYLJ5RWcyBASm00013ad4@hotmail.com>
References:  <20020901030500.A89971@skytrackercanada.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It seems your var partition is vary small.
just symlink directories on /var

1) mv /var/tmp /usr and ln -s /usr/tmp /var/tmp
2) mv /var/mail /usr and ln -s /usr/mail /var/mail
3) mv /var/log /usr and ln -s /usr/log /var/log

Rotating logs is also a solution.
But most of the softwares rotate logs by default.



----- Original Message ----- 
From: "David Banning" <david@skytrackercanada.com>
To: <questions@freebsd.org>
Sent: Sunday, September 01, 2002 12:35 PM
Subject: logs take up too much space


> My logs grow so big that my /var section of the drive gets full.
> 
> Is there a way to set the log so that it trims the length of the log?
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OE17pHDYLJ5RWcyBASm00013ad4>