1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

union: add min_free_space option for lfs/eplfs policies - fixes #6071

This commit is contained in:
Nick Craig-Wood
2022-04-04 09:55:05 +01:00
parent 29e37749b3
commit 1651429041
3 changed files with 22 additions and 6 deletions

View File

@@ -50,6 +50,14 @@ func init() {
Name: "cache_time",
Help: "Cache time of usage and free space (in seconds).\n\nThis option is only useful when a path preserving policy is used.",
Default: 120,
}, {
Name: "min_free_space",
Help: `Minimum viable free space for lfs/eplfs policies.
If a remote has less than this much free space then it won't be
considered for use in lfs or eplfs policies.`,
Advanced: true,
Default: fs.Gibi,
}},
}
fs.Register(fsi)