From owner-freebsd-bugs@FreeBSD.ORG Tue Mar 2 10:20:11 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E72B16A4CE for ; Tue, 2 Mar 2004 10:20:11 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4627243D1D for ; Tue, 2 Mar 2004 10:20:11 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i22IKBbv013946 for ; Tue, 2 Mar 2004 10:20:11 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i22IKALK013945; Tue, 2 Mar 2004 10:20:10 -0800 (PST) (envelope-from gnats) Date: Tue, 2 Mar 2004 10:20:10 -0800 (PST) Message-Id: <200403021820.i22IKALK013945@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Ruslan Ermilov Subject: Re: conf/63648: [PATCH] make the startup savecore(8) to compress saved cores by default X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ruslan Ermilov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 18:20:11 -0000 The following reply was made to PR conf/63648; it has been noted by GNATS. From: Ruslan Ermilov To: Xin LI Cc: bug-followup@FreeBSD.org Subject: Re: conf/63648: [PATCH] make the startup savecore(8) to compress saved cores by default Date: Tue, 2 Mar 2004 20:12:52 +0200 On Wed, Mar 03, 2004 at 12:48:01AM +0800, Xin LI wrote: [...] > On a machine having big RAM, it will be a nightmare to have many > coredumps saved in /var/crash, and compressing it by default will > make unattended boxes possible to have more dumps saved. > For users do not want to save a compressed coredumps, it > is always possible to set savecore_flags="" in rc.conf. > > Index: rc.conf [...] > -savecore_flags="" # Used if dumpdev is enabled above, and present. > +savecore_flags="-z" # Used if dumpdev is enabled above, and present. I don't see much point making it the default, as it violates POLA. Many users expect ``gdb -k'' to just work, without needing to uncompress core first. Cheers, -- Ruslan Ermilov FreeBSD committer ru@FreeBSD.org