swap to a sparse file

RW rwmaillists at googlemail.com
Fri Oct 12 18:36:39 UTC 2018

On Thu, 11 Oct 2018 08:51:14 +0100
Steve O'Hara-Smith wrote:

> 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.

Is that really the only reason? I've not paid much attention, but the
warnings I've heard about this have made it sound a lot worse.

More information about the freebsd-questions mailing list