mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Final cleanup of DiscImageChef.Filesystems.
This commit is contained in:
@@ -77,8 +77,7 @@ namespace DiscImageChef.Filesystems
|
||||
return magic == BFS_MAGIC;
|
||||
}
|
||||
|
||||
public override void GetInformation(ImagePlugin imagePlugin, Partition partition,
|
||||
out string information)
|
||||
public override void GetInformation(ImagePlugin imagePlugin, Partition partition, out string information)
|
||||
{
|
||||
information = "";
|
||||
|
||||
@@ -127,28 +126,6 @@ namespace DiscImageChef.Filesystems
|
||||
information = sb.ToString();
|
||||
}
|
||||
|
||||
struct BFSSuperBlock
|
||||
{
|
||||
/// <summary>0x00, 0x1BADFACE</summary>
|
||||
public uint s_magic;
|
||||
/// <summary>0x04, start in bytes of volume</summary>
|
||||
public uint s_start;
|
||||
/// <summary>0x08, end in bytes of volume</summary>
|
||||
public uint s_end;
|
||||
/// <summary>0x0C, unknown :p</summary>
|
||||
public uint s_from;
|
||||
/// <summary>0x10, unknown :p</summary>
|
||||
public uint s_to;
|
||||
/// <summary>0x14, unknown :p</summary>
|
||||
public int s_bfrom;
|
||||
/// <summary>0x18, unknown :p</summary>
|
||||
public int s_bto;
|
||||
/// <summary>0x1C, 6 bytes, filesystem name</summary>
|
||||
public string s_fsname;
|
||||
/// <summary>0x22, 6 bytes, volume name</summary>
|
||||
public string s_volume;
|
||||
}
|
||||
|
||||
public override Errno Mount()
|
||||
{
|
||||
return Errno.NotImplemented;
|
||||
@@ -208,5 +185,27 @@ namespace DiscImageChef.Filesystems
|
||||
{
|
||||
return Errno.NotImplemented;
|
||||
}
|
||||
|
||||
struct BFSSuperBlock
|
||||
{
|
||||
/// <summary>0x00, 0x1BADFACE</summary>
|
||||
public uint s_magic;
|
||||
/// <summary>0x04, start in bytes of volume</summary>
|
||||
public uint s_start;
|
||||
/// <summary>0x08, end in bytes of volume</summary>
|
||||
public uint s_end;
|
||||
/// <summary>0x0C, unknown :p</summary>
|
||||
public uint s_from;
|
||||
/// <summary>0x10, unknown :p</summary>
|
||||
public uint s_to;
|
||||
/// <summary>0x14, unknown :p</summary>
|
||||
public int s_bfrom;
|
||||
/// <summary>0x18, unknown :p</summary>
|
||||
public int s_bto;
|
||||
/// <summary>0x1C, 6 bytes, filesystem name</summary>
|
||||
public string s_fsname;
|
||||
/// <summary>0x22, 6 bytes, volume name</summary>
|
||||
public string s_volume;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user