mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 01:16:31 -05:00
Add Windows VirtualShadowCopy support for snapshots
This commit is contained in:
parent
33af95b359
commit
deb800cb57
8 changed files with 468 additions and 54 deletions
|
|
@ -363,6 +363,17 @@ int filephy(const char* path, uint64_t size, uint64_t* physical);
|
|||
*/
|
||||
int fsinfo(const char* path, int* has_persistent_inode, int* has_syncronized_hardlinks, uint64_t* total_space, uint64_t* free_space, char* fstype, size_t fstype_size, char* fslabel, size_t fslabel_size);
|
||||
|
||||
/**
|
||||
* Where snapshot are accessible
|
||||
*/
|
||||
#define SNAPSHOT_CONTAINER ".snapraid"
|
||||
|
||||
/**
|
||||
* Snapshots names
|
||||
*/
|
||||
#define SNAPSHOT_PENDING "pending"
|
||||
#define SNAPSHOT_STABLE "stable"
|
||||
|
||||
/**
|
||||
* Snapshots context
|
||||
*/
|
||||
|
|
@ -390,7 +401,8 @@ struct fssnapshot_struct {
|
|||
char snapshot_dir[PATH_MAX];
|
||||
|
||||
/*
|
||||
* Dataset name (ZFS only, e.g. "pool/data").
|
||||
* Dataset name for ZFS (e.g. "pool/data")
|
||||
* or VolumeName in Windows.
|
||||
* Empty string for filesystems where not applicable.
|
||||
*/
|
||||
char dataset[PATH_MAX];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue