From f0c5cda25150d49f9433408e08ed689a92395df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 1 Dec 2018 22:58:31 +0100 Subject: [PATCH] man: add missing descriptions of fstab options to systemd.swap(5) --- man/systemd.mount.xml | 4 ++-- man/systemd.swap.xml | 24 +++++++++++++++++++++++- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/man/systemd.mount.xml b/man/systemd.mount.xml index daee201eeb4..abd43ee6848 100644 --- a/man/systemd.mount.xml +++ b/man/systemd.mount.xml @@ -263,7 +263,7 @@ for details. - + Configure how long systemd should wait for a @@ -303,7 +303,7 @@ - The file system or swap structure will be initialized + The file system will be initialized on the device. If the device is not "empty", i.e. it contains any signature, the operation will be skipped. It is hence expected that this option remains set even after the device has been initalized. diff --git a/man/systemd.swap.xml b/man/systemd.swap.xml index 998a047ec50..073c2b3a27c 100644 --- a/man/systemd.swap.xml +++ b/man/systemd.swap.xml @@ -6,7 +6,9 @@ SPDX-License-Identifier: LGPL-2.1+ --> - + + systemd.swap systemd @@ -141,6 +143,26 @@ successfully. + + + + + + + The swap structure will be initialized on the device. If the device is not + "empty", i.e. it contains any signature, the operation will be skipped. It is hence expected + that this option remains set even after the device has been initalized. + + Note that this option can only be used in /etc/fstab, and will be + ignored when part of the Options= setting in a unit file. + + See + systemd-mkswap@.service8 + and the discussion of + wipefs8 + in systemd.mount5. + +