Date: Thu, 11 Oct 2018 08:51:14 +0100 From: Steve O'Hara-Smith <steve@sohara.org> To: freebsd-questions@freebsd.org Subject: Re: swap to a sparse file Message-ID: <20181011085114.bfcdb701b3644728a71eaa38@sohara.org> In-Reply-To: <20181011014705.GA17798@admin.sibptus.ru> References: <20181011014705.GA17798@admin.sibptus.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Oct 2018 08:47:05 +0700 Victor Sudakov <vas@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@sohara.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181011085114.bfcdb701b3644728a71eaa38>