Page MenuHomeFreeBSD

Handbook 11.12.2. Creating a Swap File: fix fstab entry
ClosedPublic

Authored by AMDmi3 on Mar 14 2016, 5:20 PM.
Tags
None
Referenced Files
F154369893: D5636.id14368.diff
Tue, Apr 28, 4:13 AM
F154321705: D5636.id14368.diff
Mon, Apr 27, 8:13 PM
Unknown Object (File)
Sun, Apr 26, 7:39 PM
Unknown Object (File)
Sat, Apr 25, 3:03 AM
Unknown Object (File)
Sun, Apr 19, 11:29 PM
Unknown Object (File)
Mon, Apr 6, 7:20 AM
Unknown Object (File)
Mar 24 2026, 12:05 AM
Unknown Object (File)
Mar 10 2026, 9:51 AM
Subscribers
None

Details

Summary

An example for creating file-backed swap lists the following fstab entry:

md99 none swap sw,file=/usr/swap0 0 0

This doesn't really work, late argument needs to be added.

Upd: there's PR for this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206715

Test Plan

Create file-backed swap as descrived in the handbook, reboot.

Diff Detail

Repository
rD FreeBSD doc repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

AMDmi3 retitled this revision from to Handbook 11.12.2. Creating a Swap File: fix fstab entry.
AMDmi3 updated this object.
AMDmi3 edited the test plan for this revision. (Show Details)
AMDmi3 added a reviewer: wblock.
wblock edited edge metadata.
This revision is now accepted and ready to land.Mar 16 2016, 6:21 PM