Added NeXT disklabels and unidentify MBR with 0 entries

git-svn-id: svn://claunia.com/FileSystemIDandChk@5 17725271-3d32-4980-a8cb-9ff532f270ba
This commit is contained in:
2011-03-25 20:45:28 +00:00
parent aef06addfb
commit b2997532f8
3 changed files with 170 additions and 1 deletions

View File

@@ -540,7 +540,11 @@ namespace FileSystemIDandChk.PartPlugins
}
}
return true;
// An empty MBR may exist, NeXT creates one and then hardcodes its disklabel
if(partitions.Count==0)
return false;
else
return true;
}
private string decodeBSDType(byte type)