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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"

Reply via email to