On Fri, Feb 21, 2003 at 03:03:57PM +0900, Nick Hastings wrote: > > If you just want to "reset" the files without a backup, as root > > type in: "touch /var/log/messages". (minus the quotes and the .) > > Won't that just change the access and modification time of the file? > That happens every 20 minutes anyway (-- MARK --). What else does > that achieve?
Touch also will create a zero-sized file. You used to have to touch a file if it didn't exist before you could edit it in vi once apon a time. Log daemons don't tend to like not having a file to add to, even if it's a zero size one. -- .''`. Baloo <[EMAIL PROTECTED]> : :' : proud Debian admin and user `. `'` `- Debian - when you have better things to do than to fix a system
pgp00000.pgp
Description: PGP signature