Implemented the creation of backing disks

This commit is contained in:
2024-02-15 13:06:21 +01:00
parent f64f39c9c8
commit e6bc757343
6 changed files with 130 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ uint64_t get_backing_creation_time(const char* backing);
char* find_latest_backing(void);
/// @brief Creates a new backing disk.
/// @param backing_disk The disk to use as the backing disk. Warning: the disk must be part of the backing disks.
/// @param disk The disk to use as the backing disk. Warning: the disk must be part of the backing disks.
/// @param description The description of the backing disk.
/// @return true if the backing disk was created, otherwise false.
bool create_backing(const char* backing_disk, const char* description);
bool create_backing(const char* disk, const char* description);