summarylogtreecommitdiffstats
path: root/openswap.conf
diff options
context:
space:
mode:
authorFabio Tea2016-12-06 02:50:27 +0100
committerJenya Sovetkin2016-12-06 10:29:48 +0100
commit601ae996bd96e498ccc6b45e9a534bae6f528f84 (patch)
tree8c1fe09a6f9d3bd68924dfcfbf0cfe51f0bbb2f9 /openswap.conf
parent6dd4b89554ba92b99d6a8f757340c073a705bc31 (diff)
downloadaur-601ae996bd96e498ccc6b45e9a534bae6f528f84.tar.gz
keyfile_device_mount_options and cryptsetup_options
+ renamed `miscellaneous` to the more descriptive `cryptsetup_options` + added `keyfile_device_mount_options` to allow keyfiles lying on subvolumes (e.g. btrfs)
Diffstat (limited to 'openswap.conf')
-rw-r--r--openswap.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/openswap.conf b/openswap.conf
index e9a790a877e9..0b11f9e4edff 100644
--- a/openswap.conf
+++ b/openswap.conf
@@ -7,6 +7,10 @@ crypt_swap_name=cryptswap
keyfile_device=/dev/mapper/cryptroot
keyfile_filename=etc/keyfile-cryptswap
+## additional arguments are given to mount for keyfile_device
+## has to start with --options (if so desired)
+#keyfile_device_mount_options="--options=subvol=__active/__"
+
## additional arguments are given to cryptsetup
## --allow-discards options is desired in case swap is on SSD partition
-miscellaneous="--type luks"
+cryptsetup_options="--type luks"