[rancid] Re: Ignore memory changes?
john heasley
heas at shrubbery.net
Tue Nov 3 06:47:38 UTC 2009
Mon, Nov 02, 2009 at 04:07:51PM -0700, Schmidt, Daniel:
> Sorry, I see this was brought up before - don't mean to kick a dead
> horse! I could easily remove nvram dirs from rancid, but I thought
> there should be more elegant solution.
>
> 95% of my spurious diffs could be eliminated by ignoring the
> startup-config & the bytes free.
the premise is that you want to know if the device is filling or
if someone is writing files there. to smooth the notices for the
former, we thought that could be rewritten in exponential format
(printf %E)....just havent done anything about it yet.
> Adding a simple "| exc startup-config|bytes free" should work, but you
> can't grep on a dir statement for some lousy reason. But, aren't we
> skipping other stuff? (Apologies, can't speak Perl)
>
> 739 # filter frequently changing files from IOX bootflash
> 740 if ($dev =~ /bootflash/) {
> 741 next if (/temp_cont\s*$/);
> 742 next if (/uptime_cont\s*$/);
> 743 }
>
> -----Original Message-----
> From: rancid-discuss-bounces at shrubbery.net
> [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Schmidt,
> Daniel
> Sent: Monday, November 02, 2009 8:53 AM
> To: rancid-discuss at shrubbery.net
> Subject: [rancid] Ignore memory changes?
>
> Is there any way to ignore flash changes? Sorry if this has been asked
> before, I can't seem to find it.
>
> - !Flash: 475 -rwx 8271 Nov 1 2009 03:47:10 -07:00
> config.text
> + !Flash: 473 -rwx 8271 Nov 2 2009 03:45:18 -07:00
> config.text
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
More information about the Rancid-discuss
mailing list