According to Jerome Gasperi: While burning my CPU.
> 
> 
> >/var/log/messages seems to contain a log of every Linux boot since it was
> >installed, among other messages.  Can I simply delete /var/log/messages
> >and trust Linux to create a new "messages" file?
> 
> Short answer:
> 
>  Yes, you can

Indeed you can, but you forgot to mention something, if the asker of this
question does not reboot or send a -HUP signal to syslogd then
 /var/log/messages will not be recreated which is realy what he asked.

Its far beter to just do;

'> /var/log/messages'

That does not delete the file it just makes it zero bytes and therfor should
not have any effect on syslogd.

> 
> Jerome
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to