mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
* FileSystemIDandChk/Plugins/ODS.cs:
Use StringHandlers class to prevent garbage coming from strings (even if they are not C strings, it does not hurt). * FileSystemIDandChk/Plugins/AppleHFS.cs: Use constants. * FileSystemIDandChk/Plugins/BFS.cs: * FileSystemIDandChk/Plugins/AppleMFS.cs: * FileSystemIDandChk/Plugins/AppleHFSPlus.cs: Use constants and EndianAwareBinaryReader class. * FileSystemIDandChk/Plugins/Opera.cs: Use a superblock structure and EndianAwareBinaryReader class, reduces lots of code. git-svn-id: svn://claunia.com/FileSystemIDandChk@15 17725271-3d32-4980-a8cb-9ff532f270ba
This commit is contained in:
@@ -196,14 +196,14 @@ namespace FileSystemIDandChk.Plugins
|
||||
sb.AppendFormat("CNID of bootable Mac OS X directory: {0}", MDB.drFndrInfo5).AppendLine();
|
||||
sb.AppendFormat("Mac OS X Volume ID: {0:X8}{1:X8}", MDB.drFndrInfo6, MDB.drFndrInfo7).AppendLine();
|
||||
|
||||
if(MDB.drEmbedSigWord == 0x482B)
|
||||
if(MDB.drEmbedSigWord == HFSP_MAGIC)
|
||||
{
|
||||
sb.AppendLine("Volume wraps a HFS+ volume.");
|
||||
sb.AppendFormat("Starting block of the HFS+ volume: {0}", MDB.xdrStABNt).AppendLine();
|
||||
sb.AppendFormat("Allocations blocks of the HFS+ volume: {0}", MDB.xdrNumABlks).AppendLine();
|
||||
}
|
||||
|
||||
if(BB.signature == 0x4C4B)
|
||||
if(BB.signature == HFSBB_MAGIC)
|
||||
{
|
||||
sb.AppendLine("Volume is bootable.");
|
||||
sb.AppendLine();
|
||||
|
||||
Reference in New Issue
Block a user