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? -- David Jardine "Running Debian GNU/Linux and loving every minute of it." -L. von Sacher-M.(1835-1895) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]