Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 1996 15:23:35 PDT
From:      Bill Fenner <fenner@parc.xerox.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org
Subject:   Re: cvs commit: src/sbin/savecore savecore.c 
Message-ID:  <96Oct14.152347pdt.177480@crevenia.parc.xerox.com>
In-Reply-To: Your message of "Mon, 14 Oct 1996 14:38:13 PDT." <199610142138.HAA13903@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199610142138.HAA13903@godzilla.zeta.org.au>you write:
>However,
>writing the last K is unlikely to work anyway because statfs can't
>report the exact amount free in advance (it can't know how many
>indirect blocks there will be in advance).  Thus setting minfree to
>0 is bogus.

But savecore could make a pretty good guess about the number of indirect blocks, right?
	needed = kernelsize + dumpsize;
	needed += fudge(needed);

  Bill





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96Oct14.152347pdt.177480>