From d5cc4be28f9d678dab441e7cf332fedf47917ea5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 7 Feb 2017 13:08:56 +0100 Subject: fstab-generator: Options= applies specifier expansion Let's document that this is the case, and properly escape % when we generate Options= in the generator. Fixes: #5086 --- man/systemd.swap.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'man/systemd.swap.xml') diff --git a/man/systemd.swap.xml b/man/systemd.swap.xml index cf4e1ba839..7f82d69725 100644 --- a/man/systemd.swap.xml +++ b/man/systemd.swap.xml @@ -195,12 +195,11 @@ Options= - May contain an option string for the swap - device. This may be used for controlling discard options among - other functionality, if the swap backing device supports the - discard or trim operation. (See + May contain an option string for the swap device. This may be used for controlling discard + options among other functionality, if the swap backing device supports the discard or trim operation. (See swapon8 - for more information.) + for more information.) Note that the usual specifier expansion is applied to this setting, literal percent + characters should hence be written as %%. -- cgit v1.2.3-54-g00ecf