Created attachment 154327 [details]
[PATCH] swapon: Accept the "late" option for .eli devices
Using the late option makes it possible to additionally use the
consumer device as (unencrypted!) dump device without making it
unavailable for rc.d/savecore (which runs between rc.d/swap
Obtained from: ElectroBSD
I have just come across this as well, and would also like to see the "late" option accepted for .eli swap devices in /etc/fstab, so I can use (unencrypted) dumps and encrypted swap.
This patch is an improvement on the work committed by delphij and reviewed by hrs in r252388, so I have copied them into this bug report.
This one keeps catching me out - anyone willing to have a look at this one? Simple patch has been attached by Fabian with fix from ElectroBSD.
# swapon -aL
Invalid option: late
# cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/ada2p2.eli none swap sw,late 0 0
This affects me as well. I didn't realize a bug report was already open. The Importance could be raised above "Affects Only Me".
This was fixed in r315242/1237e7da. After the MFC this PR can be closed.
Committed to head here:
The fix was MFC'd in r316096 and r316097.