From owner-svn-src-head@FreeBSD.ORG Tue Sep 28 10:08:46 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C986C1065694; Tue, 28 Sep 2010 10:08:46 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 774308FC24; Tue, 28 Sep 2010 10:08:46 +0000 (UTC) Received: from outgoing.leidinger.net (p57B3B90B.dip.t-dialin.net [87.179.185.11]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 8143984400A; Tue, 28 Sep 2010 11:49:18 +0200 (CEST) Received: from webmail.leidinger.net (unknown [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id 6BDAC193D; Tue, 28 Sep 2010 11:49:15 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id o8S9nCgW066608; Tue, 28 Sep 2010 11:49:12 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 28 Sep 2010 11:49:12 +0200 Message-ID: <20100928114912.17443a2o7j71kpaw@webmail.leidinger.net> Date: Tue, 28 Sep 2010 11:49:12 +0200 From: Alexander Leidinger To: John Baldwin References: <201009211507.o8LF7iVv097676@svn.freebsd.org> <20100924225352.GD49476@server.vk2pj.dyndns.org> <201009270928.47232.jhb@freebsd.org> In-Reply-To: <201009270928.47232.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 8143984400A.A6EFC X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=1.351, required 6, autolearn=disabled, RDNS_NONE 1.27, TW_SV 0.08) X-EBL-MailScanner-SpamScore: s X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1286272160.18906@ARPINEuCoVZS+Y+Z0zA5pA X-EBL-Spam-Status: No X-Mailman-Approved-At: Tue, 28 Sep 2010 11:20:51 +0000 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Peter Jeremy , freebsd-arch@freebsd.org Subject: Re: svn commit: r212964 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2010 10:08:46 -0000 Quoting John Baldwin (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 +" gives you possible candidates). Bye, Alexander. -- Applause, n.: The echo of a platitude from the mouth of a fool. -- Ambrose Bierce, "The Devil's Dictionary" http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137