<div dir="ltr">Thx Daniel. I haven't had time to look at the code to provide stuff like that.<br><br><div class="gmail_quote">On Thu, Aug 21, 2008 at 1:31 PM, Daniel Medina <span dir="ltr"><<a href="mailto:daniel.medina@gmail.com">daniel.medina@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Thu, Aug 21, 2008 at 11:12:46AM -0700, Lance Vermilion wrote:<br>
> the other option is to write some custom pieces to not include or modify the<br>
> command for dir to exclude things you don't want to include.<br>
><br>
> dir | e syslog<br>
><br>
> something like that. You may have to escape the |, you will need to mess<br>
> with it a little.<br>
<br>
</div> And you'd have to remember to skip over the "bytes total" / "bytes free" which<br>
will also be changing.<br>
<br>
ShowFlash() and DirSlotN() in rancid might be the right places to do this,<br>
updating the INPUT loop, ex:<br>
<br>
next if /\s+syslog$/; # syslog file size keeps changing<br>
next if /bytes total/; # ...which makes the total usage change<br>
<br>
or something smarter, if you want to see that the file is present, but don't<br>
care about the updated filesize and timestamp.<br>
<font color="#888888"><br>
--<br>
Dan<br>
</font></blockquote></div><br></div>