svn commit: r212964 - head/sys/kern

Alexander Leidinger Alexander at
Tue Sep 28 10:08:46 UTC 2010

Quoting John Baldwin <jhb at> (from Mon, 27 Sep 2010 09:28:47 -0400):

>> savecore already has support for a 'minfree' file to prevent
>> crashdumps filling the crashdir.  Maybe the default install should
>> include a minfree set to (say) 512MB.
> The one problem this approach is it implements a FIFO instead of a LIFO.  I
> want the N most recent crashdumps to be saved, not the first N.

Check the size in the shell script before, remove older ones ("ls -1t  
| grep pattern | tail +<N+1>" gives you possible candidates).


Applause, n.:
	The echo of a platitude from the mouth of a fool.
		-- Ambrose Bierce, "The Devil's Dictionary"    Alexander @ PGP ID = B0063FE7       netchild @  : PGP ID = 72077137

More information about the svn-src-all mailing list