freebsd-src/sbin/swapon
Dmitry Marakasov 606ddb9df1 MFC r315242: Fix late and noauto with geli swap
With the following in /etc/fstab:

/dev/gpt/swap.eli none swap sw,late 0 0

swap will not be enabled, with `swapon -aL' complaining:

swapon: Invalid option: late

This happens because swap_on_geli_args() which parses geli arguments
out of all mount options does not expect late or noauto among them.
Fix this by explicitly allowing these arguments.

Reviewed by:	jilles
Approved by:	jilles
Differential Revision:	D9835
2017-03-28 10:43:20 +00:00
..
Makefile Build swapon with WARNS=6. 2011-10-25 17:10:15 +00:00
swapon.8 MFC r307755: swapoff: Remove only late devices with -aL. 2016-11-20 13:44:27 +00:00
swapon.c MFC r315242: Fix late and noauto with geli swap 2017-03-28 10:43:20 +00:00