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
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
Unknown Object (File)
Jan 16 2026, 9:56 AM
Unknown Object (File)
Jan 14 2026, 3:27 PM
Unknown Object (File)
Jan 6 2026, 1:15 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

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