Rework snapshot interface

This commit is contained in:
Andrea Mazzoleni 2026-05-04 10:59:12 +02:00
parent ec97fb95d2
commit bfc92e5c05
6 changed files with 147 additions and 157 deletions

View file

@ -377,13 +377,9 @@ struct snapraid_disk {
char dir[PATH_MAX];
/**
* Subvolumes root directory.
*
* Empty if disabled.
* It always terminates with /
* Snapshot context
*/
char snapshot_root[PATH_MAX];
uint32_t snapshot_magic; /**< Magic number of the snapshot filesystem */
struct fssnapshot_struct fss;
char smartctl[PATH_MAX]; /**< Custom command for smartctl. Empty means auto. */
int smartignore[SMART_IGNORE_MAX]; /**< Smart attributes to ignore for this device. */