lib/repo: Add min-free-space-percent option, default 3%
For ostree-as-host, we're the superuser, so we'll blow past any reserved free space by default. While deltas have size metadata, if one happens to do a loose fetch, we can fill up the disk. Another case is flatpak: the system helper has similar concerns here as ostree-as-host, and for `flatpak --user`, we also want to be nice and avoid filling up the user's quota. Closes: https://github.com/ostreedev/ostree/issues/962 Closes: #987 Approved by: jlebon
This commit is contained in:
1 parent
8d4d638e99
commit
1f5ce1a9f7
5 files changed
+94
No files matched your search
@@ -190,6 +190,14 @@ Boston, MA 02111-1307, USA.
|
||||
<term><varname>unconfigured-state</varname></term>
|
||||
<listitem><para>If set, pulls from this remote will fail with the configured text. This is intended for OS vendors which have a subscription process to access content.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><varname>min-free-space-percent</varname></term>
|
||||
<listitem><para>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.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
</refsect1>
|
||||
|
||||
Reference in new issue
Block a user