atom feed7 messages in org.freebsd.freebsd-questionsRe: logs take up too much space
FromSent OnAttachments
David BanningSep 1, 2002 12:04 am 
Ian BarnesSep 1, 2002 12:20 am 
Lowell GilbertSep 1, 2002 9:38 am 
Patrick O'ReillySep 1, 2002 11:14 am 
Unix ToolsSep 1, 2002 11:38 pm 
David BanningSep 2, 2002 11:29 am 
Henrik HudsonSep 2, 2002 12:25 pm 
Subject:Re: logs take up too much space
From:David Banning (dav@skytrackercanada.com)
Date:Sep 2, 2002 11:29:40 am
List:org.freebsd.freebsd-questions

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 majo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message