mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Implemented missing methods, for full MFS read-only support.
This commit is contained in:
@@ -31,22 +31,47 @@
|
||||
// ****************************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using DiscImageChef.ImagePlugins;
|
||||
|
||||
namespace DiscImageChef.Filesystems.AppleMFS
|
||||
{
|
||||
// Information from Inside Macintosh Volume II
|
||||
partial class AppleMFS : Filesystem
|
||||
{
|
||||
bool mounted;
|
||||
bool debug;
|
||||
ImagePlugin device;
|
||||
ulong partitionStart;
|
||||
|
||||
Dictionary<uint, string> idToFilename;
|
||||
Dictionary<uint, MFS_FileEntry> idToEntry;
|
||||
Dictionary<string, uint> filenameToId;
|
||||
|
||||
MFS_MasterDirectoryBlock volMDB;
|
||||
byte[] bootBlocks;
|
||||
byte[] mdbBlocks;
|
||||
byte[] directoryBlocks;
|
||||
byte[] blockMapBytes;
|
||||
uint[] blockMap;
|
||||
int sectorsPerBlock;
|
||||
byte[] bootTags;
|
||||
byte[] mdbTags;
|
||||
byte[] directoryTags;
|
||||
byte[] bitmapTags;
|
||||
|
||||
public AppleMFS()
|
||||
{
|
||||
Name = "Apple Macintosh File System";
|
||||
PluginUUID = new Guid("36405F8D-0D26-4066-6538-5DBF5D065C3A");
|
||||
}
|
||||
|
||||
public AppleMFS(ImagePlugins.ImagePlugin imagePlugin, ulong partitionStart, ulong partitionEnd)
|
||||
public AppleMFS(ImagePlugin imagePlugin, ulong partitionStart, ulong partitionEnd)
|
||||
{
|
||||
Name = "Apple Macintosh File System";
|
||||
PluginUUID = new Guid("36405F8D-0D26-4066-6538-5DBF5D065C3A");
|
||||
device = imagePlugin;
|
||||
this.partitionStart = partitionStart;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user