Date: Wed, 3 Mar 2004 00:30:19 -0800 (PST) From: Ruslan Ermilov <ru@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/63648: [PATCH] make the startup savecore(8) to compress saved cores by default Message-ID: <200403030830.i238UJcE004349@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/63648; it has been noted by GNATS. From: Ruslan Ermilov <ru@FreeBSD.org> To: Xin LI <delphij@frontfree.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403030830.i238UJcE004349>