> On Apr 14, 2017, at 13:02, Alan Somers <asom...@freebsd.org> wrote:
... > Right: check_size() needs to know the on-disk size of the core dump. > But it doesn't have any way to know the on-disk size until after it's > written everything to disk. That's why I simply disabled the check at > $WORK. Another possibility would be for savecore to ignore the > up-front check, but handle ENOSPC by deleting the fragmentary vmcore > file. I never tried to implement that. Let me dig through the gzip format a bit. There should be a reasonably good upper bound approximation that we can use for compressed minidumps. Thanks! -Ngie
signature.asc
Description: Message signed with OpenPGP using GPGMail