Bug 206715

Summary: swapfile - late option in /etc/fstab is missing
Product: Documentation Reporter: c.brinkhaus
Component: Books & ArticlesAssignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Some People CC: amdmi3, jgh
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description c.brinkhaus 2016-01-28 17:11:28 UTC
In https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/adding-swap-space.html 
- section 11.12.2. Creating a Swap File 
- Example 11.2. Creating a Swap File on FreeBSD 10.X and Later

the entry in fstab is documented as
md99	none	swap	sw,file=/usr/swap0	0	0

If I am not wrong this should be better:
md99    none    swap    sw,file=/usr/swap/swap,late     0       0

Kind regards,
Christoph
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-03-16 18:33:38 UTC
A commit references this bug:

Author: amdmi3
Date: Wed Mar 16 18:33:31 UTC 2016
New revision: 48421
URL: https://svnweb.freebsd.org/changeset/doc/48421

Log:
  - Fix example fstab entry for file-backed swap: late option is required

  PR:		206715
  Approved by:	wblock
  Differential Revision:	D5636

Changes:
  head/en_US.ISO8859-1/books/handbook/config/chapter.xml