mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Corrected clusters calculation.
This commit is contained in:
@@ -143,7 +143,7 @@ namespace DiscImageChef.Filesystems
|
||||
sb.AppendFormat("Checksum 0x{0:X8}", chksector.checksum[0]).AppendLine();
|
||||
|
||||
xmlFSType.ClusterSize = (1 << vbr.sectorShift) * (1 << vbr.clusterShift);
|
||||
xmlFSType.Clusters = (long)(vbr.sectors / (ulong)xmlFSType.ClusterSize);
|
||||
xmlFSType.Clusters = vbr.clusterHeapLength;
|
||||
xmlFSType.Dirty = vbr.flags.HasFlag(VolumeFlags.VolumeDirty);
|
||||
xmlFSType.Type = "exFAT";
|
||||
xmlFSType.VolumeSerial = string.Format("{0:X8}", vbr.volumeSerial);
|
||||
|
||||
Reference in New Issue
Block a user