-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/20/07 18:24, David Jardine wrote: > On Sat, Jan 20, 2007 at 03:26:28PM -0800, Andrew Sackville-West wrote: >> On Fri, Jan 19, 2007 at 02:24:41PM -0400, Stephen Cormier wrote: >>> On Thursday 18 January 2007 20:28, Ron Johnson wrote: >>>> Linking an important log file to /dev/null is kinda risky, no? >>> Well it was either the linking or have it continue to fill up the >>> partition, >>> this was the only time I have ever had to deal with the file in the many >>> years I have been using GNU/Linux. I figure if I ever need to get some >>> information out of it I will logout of X unlink and see if I can reproduce >>> the error again. >> you can always recover the contents with cat /dev/null > oldlogfile >> and just wait for it to finish... >> >> ;-P > > But why not just use logrotate?
But it' so fun laughing at the person who tries to run # cat /dev/null > oldlogfile -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFssgtS9HxQb37XmcRAuN9AKC5DOTTBiSDD+zaaPfg5RxU11ZdXQCg0LKg 2a9ewHSr9slBHmIxzyM+STQ= =g+bS -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]