swap to a sparse file

Steve O'Hara-Smith steve at sohara.org
Thu Oct 11 08:51:35 UTC 2018

On Thu, 11 Oct 2018 08:47:05 +0700
Victor Sudakov <vas at mpeks.tomsk.su> wrote:

> Is there any good reason I can't just "truncate -s2G /swap0" and
> make the swap a sparse file? 

	Just one - if the space isn't there when the system needs it there
will be a panic.

Steve O'Hara-Smith <steve at sohara.org>

More information about the freebsd-questions mailing list