mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Corrected volume name decoding.
This commit is contained in:
@@ -250,7 +250,7 @@ namespace DiscImageChef.Filesystems
|
|||||||
sb.AppendFormat("{0} inodes in volume, {1} free", xfsSb.icount, xfsSb.ifree).AppendLine();
|
sb.AppendFormat("{0} inodes in volume, {1} free", xfsSb.icount, xfsSb.ifree).AppendLine();
|
||||||
if(xfsSb.inprogress > 0)
|
if(xfsSb.inprogress > 0)
|
||||||
sb.AppendLine("fsck in progress");
|
sb.AppendLine("fsck in progress");
|
||||||
sb.AppendFormat("Volume name: {0}", CurrentEncoding.GetString(xfsSb.fname)).AppendLine();
|
sb.AppendFormat("Volume name: {0}", StringHandlers.CToString(xfsSb.fname, CurrentEncoding)).AppendLine();
|
||||||
sb.AppendFormat("Volume UUID: {0}", xfsSb.uuid).AppendLine();
|
sb.AppendFormat("Volume UUID: {0}", xfsSb.uuid).AppendLine();
|
||||||
|
|
||||||
information = sb.ToString();
|
information = sb.ToString();
|
||||||
@@ -264,7 +264,7 @@ namespace DiscImageChef.Filesystems
|
|||||||
xmlFSType.Files = (long)(xfsSb.icount - xfsSb.ifree);
|
xmlFSType.Files = (long)(xfsSb.icount - xfsSb.ifree);
|
||||||
xmlFSType.FilesSpecified = true;
|
xmlFSType.FilesSpecified = true;
|
||||||
xmlFSType.Dirty |= xfsSb.inprogress > 0;
|
xmlFSType.Dirty |= xfsSb.inprogress > 0;
|
||||||
xmlFSType.VolumeName = CurrentEncoding.GetString(xfsSb.fname);
|
xmlFSType.VolumeName = StringHandlers.CToString(xfsSb.fname, CurrentEncoding);
|
||||||
xmlFSType.VolumeSerial = xfsSb.uuid.ToString();
|
xmlFSType.VolumeSerial = xfsSb.uuid.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user