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