|
Zbigniew Jędrzejewski-Szmek |
399a2a |
From 9b09a6df372e9eec7296c42239c8eef8f6edbdc8 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
Date: Mon, 23 Feb 2015 18:59:17 -0500
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
Subject: [PATCH] man: explain time units in tmpfiles
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
https://bugzilla.redhat.com/show_bug.cgi?id=1195294
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
(cherry picked from commit 00c53f4283ca41878a84b370840a84760b00d46e)
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
---
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
man/tmpfiles.d.xml | 29 ++++++++++++++---------------
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
1 file changed, 14 insertions(+), 15 deletions(-)
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
index 8815bf9970..4bd0fcf751 100644
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
--- a/man/tmpfiles.d.xml
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+++ b/man/tmpfiles.d.xml
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
@@ -443,23 +443,22 @@
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
delete when cleaning. If a file or directory is older than the
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
current time minus the age field, it is deleted. The field
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
format is a series of integers each followed by one of the
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
- following postfixes for the respective time units:</para>
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
-
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
- <variablelist>
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
- <varlistentry>
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
- <term><varname>s</varname></term>
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
- <term><varname>min</varname></term>
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
- <term><varname>h</varname></term>
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
- <term><varname>d</varname></term>
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
- <term><varname>w</varname></term>
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
- <term><varname>ms</varname></term>
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
- <term><varname>m</varname></term>
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
- <term><varname>us</varname></term></varlistentry>
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
- </variablelist>
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ following postfixes for the respective time units:
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ <constant>s</constant>,
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ <constant>m</constant> or <constant>min</constant>,
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ <constant>h</constant>,
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ <constant>d</constant>,
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ <constant>w</constant>,
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ <constant>ms</constant>,
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ <constant>us</constant>,
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ respectively meaning seconds, minutes, hours, days, weeks,
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ milliseconds, and microseconds. Full names of the time units can
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ be used too.
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ </para>
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
<para>If multiple integers and units are specified, the time
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
- values are summed up. If an integer is given without a unit,
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
- <varname>s</varname> is assumed.
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ values are summed. If an integer is given without a unit,
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ <constant>s</constant> is assumed.
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
</para>
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
<para>When the age is set to zero, the files are cleaned
|