Date: Wed, 30 Aug 2017 10:25:51 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 221935] fix: swapon/swapoff can't handle md-based file swap with geli from fstab Message-ID: <bug-221935-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221935 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@FreeBSD.org Reporter: freebsd-d9e@fasterix.frmug.org Created attachment 185915 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185915&action= =3Dedit 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 th= at gbde is deprecated, I didn't bother writing the relevant code. It would probably follow a similar pattern. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221935-8>