From 806d919cb551163a00565b988915af6749ebd918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 5 Oct 2020 18:33:10 +0200 Subject: [PATCH] man: add note that %T/%V don't have the trailing slash --- man/standard-specifiers.xml | 10 ++++++++++ man/systemd.unit.xml | 12 ++---------- man/sysusers.d.xml | 12 ++---------- man/tmpfiles.d.xml | 12 ++---------- 4 files changed, 16 insertions(+), 30 deletions(-) diff --git a/man/standard-specifiers.xml b/man/standard-specifiers.xml index 3efbb6db00..5b73043ce2 100644 --- a/man/standard-specifiers.xml +++ b/man/standard-specifiers.xml @@ -39,11 +39,21 @@ Operating system ID The operating system identifier of the running system, as read from the ID= field of /etc/os-release. See os-release5 for more information. + + %T + Directory for temporary files + This is either /tmp or the path $TMPDIR, $TEMP or $TMP are set to. (Note that the directory may be specified without a trailing slash.) + %v Kernel release Identical to uname -r output. + + %V + Directory for larger and persistent temporary files + This is either /var/tmp or the path $TMPDIR, $TEMP or $TMP are set to. (Note that the directory may be specified without a trailing slash.) + %w Operating system version ID diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index e89050429a..d52cd0a24c 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -1858,11 +1858,7 @@ Note that this setting is not influenced by the Us Runtime directory root This is either /run/ (for the system manager) or the path $XDG_RUNTIME_DIR resolves to (for user managers). - - %T - Directory for temporary files - This is either /tmp or the path $TMPDIR, $TEMP or $TMP are set to. - + %g User group @@ -1888,11 +1884,7 @@ Note that this setting is not influenced by the Us Note that this setting is not influenced by the User= setting configurable in the [Service] section of the service unit. - - %V - Directory for larger and persistent temporary files - This is either /var/tmp or the path $TMPDIR, $TEMP or $TMP are set to. - + diff --git a/man/sysusers.d.xml b/man/sysusers.d.xml index 2d5023dc91..52b2d89474 100644 --- a/man/sysusers.d.xml +++ b/man/sysusers.d.xml @@ -260,17 +260,9 @@ r - 500-900 - - %T - Directory for temporary files - This is either /tmp or the path $TMPDIR, $TEMP or $TMP are set to. - + - - %V - Directory for larger and persistent temporary files - This is either /var/tmp or the path $TMPDIR, $TEMP or $TMP are set to. - + diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index c933e8ff2e..5b81bb5888 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -663,11 +663,7 @@ w- /proc/sys/vm/swappiness - - - - 10 System or user runtime directory In mode, this is the same $XDG_RUNTIME_DIR, and /run/ otherwise. - - %T - Directory for temporary files - This is either /tmp or the path $TMPDIR, $TEMP or $TMP are set to. - + %g User group @@ -689,11 +685,7 @@ w- /proc/sys/vm/swappiness - - - - 10 This is the numeric UID of the user running the command. In case of the system instance this resolves to 0. - - %V - Directory for larger and persistent temporary files - This is either /var/tmp or the path $TMPDIR, $TEMP or $TMP are set to. - +