Tell user to not interrupt migration process
This commit is contained in:
parent
397de9372f
commit
bfb397f44e
@ -100,7 +100,7 @@ namespace blockstore {
|
|||||||
|
|
||||||
#ifndef CRYFS_NO_COMPATIBILITY
|
#ifndef CRYFS_NO_COMPATIBILITY
|
||||||
void VersionCountingBlockStore::migrateFromBlockstoreWithoutVersionNumbers(BlockStore *baseBlockStore, const bf::path &integrityFilePath, uint32_t myClientId) {
|
void VersionCountingBlockStore::migrateFromBlockstoreWithoutVersionNumbers(BlockStore *baseBlockStore, const bf::path &integrityFilePath, uint32_t myClientId) {
|
||||||
std::cout << "Migrating file system for integrity features. This can take a while..." << std::flush;
|
std::cout << "Migrating file system for integrity features. Please don't interrupt this process. This can take a while..." << std::flush;
|
||||||
KnownBlockVersions knownBlockVersions(integrityFilePath, myClientId);
|
KnownBlockVersions knownBlockVersions(integrityFilePath, myClientId);
|
||||||
baseBlockStore->forEachBlock([&baseBlockStore, &knownBlockVersions] (const Key &key) {
|
baseBlockStore->forEachBlock([&baseBlockStore, &knownBlockVersions] (const Key &key) {
|
||||||
auto block = baseBlockStore->load(key);
|
auto block = baseBlockStore->load(key);
|
||||||
|
Loading…
Reference in New Issue
Block a user