diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-03-05 00:56:08 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-03-05 00:59:38 +0100 |
commit | b6e676ce41508e2aeea22202fc8f234126177f52 (patch) | |
tree | 8fcf8bca4f59eaab91ef13909e0454cf1684c225 /src/shared/machine-pool.h | |
parent | 776a972612be7131ce6f7accd66e75ca7e0fce2a (diff) |
importd: add new bus calls for importing local tar and raw images
This also adds "machinectl import-raw" and "machinectl import-tar" to
wrap these new bus calls.
THe commands basically do for local files that "machinectl pull-raw" and
friends do for remote files.
Diffstat (limited to 'src/shared/machine-pool.h')
-rw-r--r-- | src/shared/machine-pool.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/machine-pool.h b/src/shared/machine-pool.h index 06c5d40583..fe01d3d47c 100644 --- a/src/shared/machine-pool.h +++ b/src/shared/machine-pool.h @@ -23,5 +23,8 @@ #include "sd-bus.h" +/* Grow the /var/lib/machines directory after each 10MiB written */ +#define GROW_INTERVAL_BYTES (UINT64_C(10) * UINT64_C(1024) * UINT64_C(1024)) + int setup_machine_directory(uint64_t size, sd_bus_error *error); int grow_machine_directory(void); |