skip ec volumes when loading normal volumes
This commit is contained in:
@@ -95,6 +95,11 @@ func (l *DiskLocation) loadExistingVolume(fileInfo os.FileInfo, needleMapKind Ne
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// skip ec volumes
|
||||||
|
if util.FileExists(l.Directory + "/" + volumeName + ".ecx") {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
// check for incomplete volume
|
// check for incomplete volume
|
||||||
noteFile := l.Directory + "/" + volumeName + ".note"
|
noteFile := l.Directory + "/" + volumeName + ".note"
|
||||||
if util.FileExists(noteFile) {
|
if util.FileExists(noteFile) {
|
||||||
|
|||||||
Reference in New Issue
Block a user