Populate system identifier.

This commit is contained in:
2017-07-05 02:06:48 +01:00
parent eb6e96894f
commit 5319b3440b
2 changed files with 3 additions and 0 deletions

View File

@@ -297,6 +297,7 @@ namespace DiscImageChef.Filesystems
xmlFSType.Type = "HFSX";
if(HPVH.drFndrInfo6 != 0 && HPVH.drFndrInfo7 != 0)
xmlFSType.VolumeSerial = string.Format("{0:X8}{1:x8}", HPVH.drFndrInfo6, HPVH.drFndrInfo7);
xmlFSType.SystemIdentifier = HPVH.lastMountedVersion;
}
else
{

View File

@@ -300,6 +300,8 @@ namespace DiscImageChef.Filesystems
break;
}
xmlFSType.SystemIdentifier = ext_os;
if(supblk.mkfs_t > 0)
{
sb.AppendFormat("Volume was created on {0} for {1}", DateHandlers.UNIXUnsignedToDateTime(supblk.mkfs_t), ext_os).AppendLine();