diff --git a/man/file-hierarchy.xml b/man/file-hierarchy.xml
index 23ee17d36f..96915f877d 100644
--- a/man/file-hierarchy.xml
+++ b/man/file-hierarchy.xml
@@ -128,24 +128,22 @@
/tmp/
- The place for small temporary files. This
- directory is usually mounted as a tmpfs
- instance, and should hence not be used for larger files. (Use
- /var/tmp/ for larger files.) Since the
- directory is accessible to other users of the system, it is
- essential that this directory is only written to with the
- mkstemp3,
- mkdtemp3
- and related calls. This directory is usually flushed at
- boot-up. Also, files that are not accessed within a certain
- time are usually automatically deleted. If applications find
- the environment variable $TMPDIR set, they
- should prefer using the directory specified in it over
- directly referencing /tmp/ (see
- environ7
- and
+ The place for small temporary files. This directory is usually mounted as a
+ tmpfs instance, and should hence not be used for larger files. (Use
+ /var/tmp/ for larger files.) Since the directory is accessible to other users of
+ the system, it is essential that this directory is only written to with the mkstemp3,
+ mkdtemp3 and
+ related calls. This directory is usually flushed at boot-up. Also, files that are not accessed within
+ a certain time are usually automatically deleted. If applications find the environment variable
+ $TMPDIR set, they should prefer using the directory specified in it over directly
+ referencing /tmp/ (see environ7 and
IEEE
- Std 1003.1 for details).
+ Std 1003.1 for details). For further details about this directory, see Using /tmp/ And /var/tmp/
+ Safely.
@@ -337,24 +335,22 @@
/var/tmp/
- The place for larger and persistent temporary
- files. In contrast to /tmp/, this directory
- is usually mounted from a persistent physical file system and
- can thus accept larger files. (Use /tmp/
- for smaller files.) This directory is generally not flushed at
- boot-up, but time-based cleanup of files that have not been
- accessed for a certain time is applied. The same security
- restrictions as with /tmp/ apply, and
- hence only
- mkstemp3,
- mkdtemp3
- or similar calls should be used to make use of this directory.
- If applications find the environment variable
- $TMPDIR set, they should prefer using the
- directory specified in it over directly referencing
- /var/tmp/ (see
- environ7
- for details).
+ The place for larger and persistent temporary files. In contrast to
+ /tmp/, this directory is usually mounted from a persistent physical file system
+ and can thus accept larger files. (Use /tmp/ for smaller files.) This directory
+ is generally not flushed at boot-up, but time-based cleanup of files that have not been accessed for
+ a certain time is applied. The same security restrictions as with /tmp/ apply,
+ and hence only mkstemp3,
+ mkdtemp3 or
+ similar calls should be used to make use of this directory. If applications find the environment
+ variable $TMPDIR set, they should prefer using the directory specified in it over
+ directly referencing /var/tmp/ (see environ7 for
+ details). For further details about this directory, see Using /tmp/ And /var/tmp/
+ Safely.
diff --git a/units/tmp.mount b/units/tmp.mount
index 742d86385c..27bd0f235c 100644
--- a/units/tmp.mount
+++ b/units/tmp.mount
@@ -9,7 +9,8 @@
[Unit]
Description=Temporary Directory (/tmp)
-Documentation=man:hier(7)
+Documentation=https://systemd.io/TEMPORARY_DIRECTORIES
+Documentation=man:file-hierarchy(7)
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
ConditionPathIsSymbolicLink=!/tmp
DefaultDependencies=no