Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2014 20:17:51 +0000
From:      Ross Kilgariff <ross@ninjakiwi.com>
To:        freebsd-doc@FreeBSD.org
Subject:   Handbook Errata (Section 12.12. Adding Swap Space)
Message-ID:  <CA%2BRwE4wHwKbkm6vOaMF13Qi4n%2BFeP=TvzKg4Wjnhof8Ps4ZdgQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I noticed that *Example 12.2* in section 12.12 of the handbook
<https://www.freebsd.org/doc/handbook/adding-swap-space.html>; does not work
verbatim.

I believe this is due to commit r255265:

  Enable "late" option when a file= option is specified in /etc/fstab.
  The file= option requires rw mount where the backing store exists but
  it does not work because rc.d/swap runs before rc.d/fsck.
  Reported by:	wblock

A possible fix would be to change:

swapon -aq

to

swapon -aLq


This ensures swap is enabled even when the "late" option is specified.

Thanks,
Ross



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BRwE4wHwKbkm6vOaMF13Qi4n%2BFeP=TvzKg4Wjnhof8Ps4ZdgQ>