ostree/man
Umang Jain 66079c7b65 lib/repo: Allow min-free-space-size and -percent to co-exist
Previously, we would error out if both of the options were mentioned
in the config file (even if one of them is disabled with 0). There
were few suggestions that this behavior was not quite right.

Therefore, instead of throwing error and exiting, it's preferred to
warn the user. Hence, the solution that worked out is:
* Allow both options to exist simulateneously
* Check each config's value and decide:
  * If both are present and are non-zero, warn the user. Also, prefer
    to use min-free-space-size over the another.
  * If both are absent, then use -percent=3% as fallback
  * Every other case is valid hence, no warning

https://phabricator.endlessm.com/T13698
(cherry picked from commit be68991cf80f0aa1da7d36ab6e1d2c4d6c7cd3fb)
Signed-off-by: Robert McQueen <rob@endlessm.com>

Closes: #1685
Approved by: cgwalters
2018-07-20 14:58:40 +00:00
..
ostree-admin-cleanup.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-config-diff.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-deploy.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-init-fs.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-instutil.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-os-init.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-pin.xml sysroot: Add concept of deployment "pinning" 📌 2018-02-26 19:06:59 +00:00
ostree-admin-set-origin.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-status.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-switch.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-undeploy.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-unlock.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin-upgrade.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-admin.xml admin: Fix list of subcommands in help and manpage 2018-06-12 14:36:24 +00:00
ostree-cat.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-checkout.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-checksum.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-commit.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-config.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-create-usb.xml man: Add man page for create-usb 2018-04-19 13:35:15 +00:00
ostree-diff.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-export.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-find-remotes.xml Make P2P API public (no longer experimental) 2018-06-04 19:20:10 +00:00
ostree-fsck.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-gpg-sign.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-init.xml man/ostree-init: Briefly describe various modes 2018-04-30 17:58:38 +00:00
ostree-log.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-ls.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-prune.xml docs/prune: Document that --static-deltas-only isn't that useful 2018-03-06 14:02:32 +00:00
ostree-pull-local.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-pull.xml ostree/pull: Add network-retries command line option 2018-07-05 17:59:09 +00:00
ostree-refs.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-remote.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-reset.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-rev-parse.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-show.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-static-delta.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree-summary.xml Make P2P API public (no longer experimental) 2018-06-04 19:20:10 +00:00
ostree-trivial-httpd.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree.repo-config.xml lib/repo: Allow min-free-space-size and -percent to co-exist 2018-07-20 14:58:40 +00:00
ostree.repo.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
ostree.xml Make P2P API public (no longer experimental) 2018-06-04 19:20:10 +00:00
rofiles-fuse.xml Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00