[Bug 221935] fix: swapon/swapoff can't handle md-based file swap with geli from fstab
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Aug 30 10:25:52 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221935
Bug ID: 221935
Summary: fix: swapon/swapoff can't handle md-based file swap
with geli from fstab
Product: Base System
Version: 10.3-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: freebsd-d9e at fasterix.frmug.org
Created attachment 185915
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185915&action=edit
patch for /usr/src/sbin/swapon/swapon.c
>From fstab, swapon/swapoff/swapctl can handle file-based swap using md, and
partition-based swap with geli by appending .eli to the disk name in fstab, but
it doesn't recognize the .eli suffix when applied to a md-based swap.
Attached is a patch to enable this use case.
Note: the same problem exists with the .bde suffix but as it seems to me that
gbde is deprecated, I didn't bother writing the relevant code. It would
probably follow a similar pattern.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list