From 78e9bb837c258ac0ec7712b3d612cc2f407e731e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 05:50:42 +0200 Subject: Merging upstream version 256. Signed-off-by: Daniel Baumann --- man/systemd-tmpfiles.xml | 82 +++++++++++++++++++++++++++++++----------------- 1 file changed, 53 insertions(+), 29 deletions(-) (limited to 'man/systemd-tmpfiles.xml') diff --git a/man/systemd-tmpfiles.xml b/man/systemd-tmpfiles.xml index d0f8ed3..008bff6 100644 --- a/man/systemd-tmpfiles.xml +++ b/man/systemd-tmpfiles.xml @@ -1,6 +1,6 @@ + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> systemd-tmpfiles-setup-dev.service systemd-tmpfiles-clean.service systemd-tmpfiles-clean.timer - Creates, deletes and cleans up volatile - and temporary files and directories + Create, delete, and clean up files and directories @@ -35,16 +34,22 @@ System units: -systemd-tmpfiles-setup.service -systemd-tmpfiles-setup-dev-early.service -systemd-tmpfiles-setup-dev.service -systemd-tmpfiles-clean.service -systemd-tmpfiles-clean.timer + + systemd-tmpfiles-setup.service + systemd-tmpfiles-setup-dev-early.service + systemd-tmpfiles-setup-dev.service + systemd-tmpfiles-clean.service + systemd-tmpfiles-clean.timer + + User units: -systemd-tmpfiles-setup.service -systemd-tmpfiles-clean.service -systemd-tmpfiles-clean.timer + + systemd-tmpfiles-setup.service + systemd-tmpfiles-clean.service + systemd-tmpfiles-clean.timer + + @@ -53,17 +58,20 @@ systemd-tmpfiles creates, deletes, and cleans up volatile and temporary files and directories, using the configuration file format and location specified in tmpfiles.d5. It must - be invoked with one or more options , , and + be invoked with one or more commands , , and , to select the respective subset of operations. - By default, directives from all configuration files are applied. When invoked with - , arguments specified on the command line are - used instead of the configuration file PATH. Otherwise, if one or more - absolute filenames are passed on the command line, only the directives in these files are applied. If - - is specified instead of a filename, directives are read from standard input. If only - the basename of a configuration file is specified, all configuration directories as specified in - tmpfiles.d5 are - searched for a matching file and the file found that has the highest priority is executed. + If invoked with no arguments, directives from the configuration files found in the directories + specified by + tmpfiles.d5. When + invoked with positional arguments, if option + is specified, arguments specified on the command line are used instead of the configuration file + PATH. Otherwise, just the configuration specified by the command line + arguments is executed. If the string - is specified instead of a filename, the + configuration is read from standard input. If the argument is a file name (without any slashes), all + configuration directories are searched for a matching file and the file found that has the highest + priority is executed. If the argument is a path, that file is used directly without searching the + configuration directories for any other matching file. System services (systemd-tmpfiles-setup.service, systemd-tmpfiles-setup-dev-early.service, @@ -90,14 +98,14 @@ - Options + Commands and options - The following options are understood: + The following commands are understood: - If this option is passed, all files and + If this command is passed, all files and directories marked with f, F, @@ -123,14 +131,14 @@ - If this option is passed, all files and + If this command is passed, all files and directories with an age parameter configured will be cleaned up. - If this option is passed, the contents of + If this command is passed, the contents of directories marked with D or R, and files or directories themselves marked with r or R are @@ -139,6 +147,14 @@ + + + If this option is passed, all files and directories created by a + tmpfiles.d/ entry will be deleted. + + + + Execute "user" configuration, i.e. tmpfiles.d @@ -165,6 +181,14 @@ + + + Process the configuration and print what operations would be performed, but don't + actually change anything in the file system. + + + + Only apply rules with paths that start with @@ -340,10 +364,10 @@ See Also - - systemd1, - tmpfiles.d5 - + + systemd1 + tmpfiles.d5 + -- cgit v1.2.3