/[base]
ViewVC logotype

Revision 315242


Jump to revision: Previous Next
Author: amdmi3
Date: Tue Mar 14 12:39:19 2017 UTC (7 years, 3 months ago)
Changed paths: 1
Log Message:
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
MFC after:	2 weeks
Differential Revision:	D9835


Changed paths

Path Details
Directoryhead/sbin/swapon/swapon.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27