From owner-freebsd-bugs@FreeBSD.ORG Sat Mar 6 01:43:24 2004 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99ED516A4CE for ; Sat, 6 Mar 2004 01:43:24 -0800 (PST) Received: from ftp.bjpu.edu.cn (ftp.bjpu.edu.cn [202.112.78.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0510043D1F for ; Sat, 6 Mar 2004 01:43:24 -0800 (PST) (envelope-from delphij@frontfree.net) Received: from localhost (localhost [127.0.0.1]) by ftp.bjpu.edu.cn (Postfix) with ESMTP id 7920B52A3 for ; Sat, 6 Mar 2004 17:43:19 +0800 (CST) Received: from ftp.bjpu.edu.cn ([127.0.0.1]) by localhost (ftp.bjpu.edu.cn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 61335-06 for ; Sat, 6 Mar 2004 17:43:18 +0800 (CST) Received: from beastie.frontfree.net (beastie.frontfree.net [218.107.145.7]) by ftp.bjpu.edu.cn (Postfix) with ESMTP id A6D515299 for ; Sat, 6 Mar 2004 17:43:17 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id 18F3B114E3; Sat, 6 Mar 2004 17:43:17 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01435-07; Sat, 6 Mar 2004 17:43:15 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id EA91911443; Sat, 6 Mar 2004 17:43:14 +0800 (CST) Date: Sat, 6 Mar 2004 17:43:14 +0800 From: Xin LI To: Kris Kennaway Message-ID: <20040306094314.GA231@frontfree.net> References: <200403060850.i268oDCk086096@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: <200403060850.i268oDCk086096@freefall.freebsd.org> User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.2-CURRENT FreeBSD 5.2-CURRENT #44: Thu Mar 4 13:19:40 CST 2004 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: by Frontfree Secure Mail II at frontfree.net X-Virus-Scanned: by amavisd-new at frontfree.net cc: freebsd-bugs@FreeBSD.org 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 List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2004 09:43:24 -0000 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 06, 2004 at 12:50:13AM -0800, Kris Kennaway wrote: > The following reply was made to PR conf/63648; it has been noted by GNATS. >=20 > From: Kris Kennaway > To: Ruslan Ermilov > Cc: freebsd-gnats-submit@FreeBSD.org > Subject: Re: conf/63648: [PATCH] make the startup savecore(8) to compress= saved cores by default > Date: Sat, 6 Mar 2004 00:50:03 -0800 >=20 > On Tue, Mar 02, 2004 at 10:20:10AM -0800, Ruslan Ermilov wrote: > > The following reply was made to PR conf/63648; it has been noted by GN= ATS. > >=20 > > From: Ruslan Ermilov > > To: Xin LI > > Cc: bug-followup@FreeBSD.org > > Subject: Re: conf/63648: [PATCH] make the startup savecore(8) to compr= ess saved cores by default > > Date: Tue, 2 Mar 2004 20:12:52 +0200 > >=20 > > 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=20 > > > coredumps saved in /var/crash, and compressing it by default will= =20 > > > make unattended boxes possible to have more dumps saved. > > > For users do not want to save a compressed coredumps, it=20 > > > is always possible to set savecore_flags=3D"" in rc.conf.=20 > > >=20 > > > Index: rc.conf > > [...] > > > -savecore_flags=3D"" # Used if dumpdev is enabled above, and presen= t. > > > +savecore_flags=3D"-z" # Used if dumpdev is enabled above, and pres= ent. > > =20 > > 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. > =20 > I agree..as you say in your other response, that's what the variable is = there for. I agree, too. Will someone please close this PR? Thanks :-) Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFASZ0yOfuToMruuMARAu/yAJ9CjUPuUZkkDioboEi8tbIAInRjpgCeIiMD 3MiVLdAY0SfVRPBte6WKkV0= =e+rk -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0--