On Sun, Jan 31, 1999 at 11:44:21AM -0800, Eric Dahnke wrote:
> I believe fairly standard practice for syslog files is to do a cp to a 
> new file
> 
>   cp maillog maillog.bak
> 
> then
> 
>   cp /dev/null /var/log/maillog
> 
> That is what I do at least.

        Bzzzt. You lost. You miss everything logged between
        the first and the last cp.

        mv maillog maillog.0
        touch maillog
        chmod maillog   # if necessary
        kill -HUP `pidof syslogd`

-- 
foo | +358505486010 | [EMAIL PROTECTED] | mknod /dev/trash c 1 3

Reply via email to