skip ec volumes when loading normal volumes

This commit is contained in:
Chris Lu 2021-10-05 02:31:44 -07:00
parent 332d49432d
commit f0d1e7bd05

View file

@ -95,6 +95,11 @@ func (l *DiskLocation) loadExistingVolume(fileInfo os.FileInfo, needleMapKind Ne
return false
}
// skip ec volumes
if util.FileExists(l.Directory + "/" + volumeName + ".ecx") {
return false
}
// check for incomplete volume
noteFile := l.Directory + "/" + volumeName + ".note"
if util.FileExists(noteFile) {