From 799cfcb5b394812057d23b3af82fb7fc4ff1eeb7 Mon Sep 17 00:00:00 2001 From: Matthew Leeds Date: Sun, 22 Jul 2018 19:19:52 -0700 Subject: [PATCH] man/ostree.repo-config: Update min-free-space-* docs Now that it's possible to have both min-free-space-size and min-free-space-percent set in a repo config, update the docs to make the behavior clear in that case. Closes: #1687 Approved by: jlebon --- man/ostree.repo-config.xml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/man/ostree.repo-config.xml b/man/ostree.repo-config.xml index 4aedc138..0d39f41e 100644 --- a/man/ostree.repo-config.xml +++ b/man/ostree.repo-config.xml @@ -121,18 +121,21 @@ Boston, MA 02111-1307, USA. min-free-space-percent Integer percentage value (0-99) that specifies a minimum percentage of total space (in blocks) in the underlying filesystem to - keep free. The default value is 3. + keep free. The default value is 3. This default value is enforced when none + of min-free-space-* options are set. In case this option is co-existing with min-free-space-size (see below), - it would be ignored and min-free-space-size check would be enforced instead. + and min-free-space-size is set to a non-zero value, min-free-space-percent + would be ignored and min-free-space-size check would be enforced instead. min-free-space-size Value (in MB, GB or TB) that specifies a minimum space in the - underlying filesystem to keep free. Also, note that min-free-space-percent - and min-free-space-size are mutually exclusive. Examples of acceptable values: - 500MB, 1GB etc. The default value is 0MB, which disables this check. + underlying filesystem to keep free. Examples of acceptable values: 500MB, 1GB + etc. + In case this option is co-existing with min-free-space-percent (see above), + and set to a non-zero value, this option takes priority.