mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
* DiscImageChef.Filesystems/SFS.cs:
Code refactoring. * DiscImageChef.Filesystems/PFS.cs: Add volume name to XmlFs.
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Collections.Generic;
|
||||
using DiscImageChef.Console;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
@@ -223,7 +222,7 @@ namespace DiscImageChef.Filesystems
|
||||
|
||||
sbInformation.AppendFormat("Volume name: {0}", StringHandlers.PascalToString(rootBlock.diskname)).AppendLine();
|
||||
sbInformation.AppendFormat("Volume has {0} free sectors of {1}", rootBlock.blocksfree, rootBlock.diskSize).AppendLine();
|
||||
sbInformation.AppendFormat("Volme created on {0}", DateHandlers.AmigaToDateTime(rootBlock.creationday, rootBlock.creationminute, rootBlock.creationtick)).AppendLine();
|
||||
sbInformation.AppendFormat("Volume created on {0}", DateHandlers.AmigaToDateTime(rootBlock.creationday, rootBlock.creationminute, rootBlock.creationtick)).AppendLine();
|
||||
if(rootBlock.extension > 0)
|
||||
sbInformation.AppendFormat("Root block extension resides at block {0}", rootBlock.extension).AppendLine();
|
||||
|
||||
@@ -235,6 +234,7 @@ namespace DiscImageChef.Filesystems
|
||||
xmlFSType.FreeClustersSpecified = true;
|
||||
xmlFSType.Clusters = rootBlock.diskSize / imagePlugin.GetSectorSize();
|
||||
xmlFSType.ClusterSize = (int)imagePlugin.GetSectorSize();
|
||||
xmlFSType.VolumeName = StringHandlers.PascalToString(rootBlock.diskname);
|
||||
}
|
||||
|
||||
public override Errno Mount()
|
||||
|
||||
@@ -31,10 +31,9 @@
|
||||
// ****************************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Collections.Generic;
|
||||
using DiscImageChef.Console;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user