On Tuesday, September 28, 2010 5:49:12 am Alexander Leidinger wrote: > Quoting John Baldwin <j...@freebsd.org> (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).
Yes, but the point is that you want that logic in savecore as an alternate to the current minfree logic. -- John Baldwin _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"