Summary: | [PATCH] swapon: Accept the "late" option for .eli devices | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Fabian Keil <fk> | ||||
Component: | bin | Assignee: | Dmitry Marakasov <amdmi3> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | amdmi3, delphij, ebay, hrs, pjd, tablosazi.farahan, woodsb02 | ||||
Priority: | --- | Keywords: | patch | ||||
Version: | CURRENT | Flags: | woodsb02:
mfc-stable11?
|
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
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. https://svnweb.freebsd.org/base?view=revision&revision=252388 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: https://svnweb.freebsd.org/base?view=revision&revision=r315242 The fix was MFC'd in r316096 and r316097. https://svnweb.freebsd.org/base?view=revision&revision=r316097 (stable/11) https://svnweb.freebsd.org/base?view=revision&revision=r316096 (stable/10) MARKED AS SPAM |
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 and rc.d/swaplate). Obtained from: ElectroBSD