svn commit: r244112 - head/sys/kern

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Dec 15 21:01:58 UTC 2012


On Wed, Dec 12, 2012 at 04:53:48PM -0800, Alfred Perlstein wrote:
> Like what if I do gzipp'd kernel dumps next? (on my todo list)  How many 
> people will complain that "gzip is too dangerous in kernel context foo 
> foo!!!!"
> 
> Not sure, I guess I'll find out?

Well... :) savecore(8) has an option to compress the dumps. The only use
case for compressing-while-dumping I see is small swap/dump partition.
I'm not against this change, but I would not use it myself. When you are
dumping your kernel is in undefined state, so the less code you execute
in that state the higher chances your dump will succeed. I much prefer
to either compress the dumps with savecore(8) or use ZFS dataset with
compression enabled for /var/crash/.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://tupytaj.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20121215/b87d078c/attachment.sig>


More information about the svn-src-all mailing list