[nmglug] saving disk space
Sam Noble
sam at thepromisedlan.org
Thu May 24 13:18:16 PDT 2007
On Wed, 2007-05-23 at 15:58 -0600, Mars DeLapp wrote:
> My guess is that it would be ok to delete it. You might want to
> recreate an empty file with matching ownership and file
> permissions, or just do it and see what happens. Maybe the logging
> routine will recreate it if it does not exist.
To avoid that, I like to truncate logs with something like:
$ sudo -i
Password:
# > /var/log/logfile.log
# exit
More information about the nmglug
mailing list