Save and restore mountpoints within the state file.

Signed-off-by: FlashSystems <developer@flashsystems.de>
This commit is contained in:
FlashSystems
2017-11-25 11:20:32 +01:00
committed by Max Kellermann
parent c488d3123f
commit 64d141f71e
6 changed files with 208 additions and 1 deletions

View File

@@ -46,6 +46,10 @@ class StateFile final : private TimeoutMonitor {
unsigned prev_volume_version = 0, prev_output_version = 0,
prev_playlist_version = 0;
#ifdef ENABLE_DATABASE
unsigned prev_storage_version = 0;
#endif
public:
static constexpr std::chrono::steady_clock::duration DEFAULT_INTERVAL = std::chrono::minutes(2);