From owner-freebsd-bugs@FreeBSD.ORG Wed Mar 3 00:30:20 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 43A6E16A4CE for ; Wed, 3 Mar 2004 00:30:20 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3852F43D39 for ; Wed, 3 Mar 2004 00:30:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i238UKbv004358 for ; Wed, 3 Mar 2004 00:30:20 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i238UJcE004349; Wed, 3 Mar 2004 00:30:19 -0800 (PST) (envelope-from gnats) Date: Wed, 3 Mar 2004 00:30:19 -0800 (PST) Message-Id: <200403030830.i238UJcE004349@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: Wed, 03 Mar 2004 08:30:20 -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: Wed, 3 Mar 2004 10:24:29 +0200 On Wed, Mar 03, 2004 at 08:42:44AM +0800, Xin LI wrote: > Hello, Ruslan > > On Tue, Mar 02, 2004 at 08:12:52PM +0200, Ruslan Ermilov wrote: > [...] > > [...] > > > -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. > [...] > > It seems reasonable to me about the POLA violation, thank you > for pointing this out. > > Frankly, one of my friends is running a box with 4GB of RAM and > having many 4GB'sized coredumps on his /var/crash is really not > an interesting thing... > > Another possible approach is to have older coredumps compressed > after the system is started up, what do you think about this idea? > I think those that need it just need to set -z in savecore_flags. After all, it's there just to be able to do that. ;) Cheers, -- Ruslan Ermilov FreeBSD committer ru@FreeBSD.org