From b6e676ce41508e2aeea22202fc8f234126177f52 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 5 Mar 2015 00:56:08 +0100 Subject: 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. --- src/shared/machine-pool.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/shared/machine-pool.h') 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); -- cgit v1.2.3-54-g00ecf