Added generating XML metadata for file systems.

This commit is contained in:
2015-12-05 17:10:27 +00:00
parent c6cfcbcd15
commit 96048617e1
28 changed files with 313 additions and 4 deletions

View File

@@ -386,6 +386,18 @@ namespace DiscImageChef.Plugins
information = sb.ToString();
xmlFSType = new Schemas.FileSystemType();
xmlFSType.BackupDate = mddf.dtvb;
xmlFSType.Clusters = mddf.vol_size;
xmlFSType.ClusterSize = mddf.clustersize * mddf.datasize;
xmlFSType.CreationDate = mddf.dtvc;
xmlFSType.Dirty = mddf.vol_left_mounted != 0;
xmlFSType.Files = mddf.filecount;
xmlFSType.FreeClusters = mddf.freecount;
xmlFSType.Type = "LisaFS";
xmlFSType.VolumeName = mddf.volname;
xmlFSType.VolumeSerial = String.Format("{0:X16}", mddf.volid);
return;
}
}