]>
Commit | Line | Data |
---|---|---|
53e1b683 | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
432cea00 LP |
2 | #pragma once |
3 | ||
a8fbdf54 TA |
4 | #include <stdint.h> |
5 | ||
432cea00 LP |
6 | #include "sd-bus.h" |
7 | ||
b6e676ce LP |
8 | /* Grow the /var/lib/machines directory after each 10MiB written */ |
9 | #define GROW_INTERVAL_BYTES (UINT64_C(10) * UINT64_C(1024) * UINT64_C(1024)) | |
10 | ||
4cee5eed | 11 | int setup_machine_directory(uint64_t size, sd_bus_error *error); |
26166c88 | 12 | int grow_machine_directory(void); |