Implement DOS and NT namespaces in FAT.

This commit is contained in:
2019-04-27 02:46:29 +01:00
parent 5b86a572bd
commit 7a8e997948
4 changed files with 43 additions and 9 deletions

View File

@@ -55,6 +55,7 @@ namespace DiscImageChef.Filesystems.FAT
ulong fatFirstSector;
ulong firstClusterSector;
bool mounted;
Namespace @namespace;
uint reservedSectors;
Dictionary<string, DirectoryEntry> rootDirectoryCache;
uint sectorsPerCluster;
@@ -72,7 +73,11 @@ namespace DiscImageChef.Filesystems.FAT
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
new (string name, Type type, string description)[] { };
public Dictionary<string, string> Namespaces => null;
public Dictionary<string, string> Namespaces =>
new Dictionary<string, string>
{
{"dos", "DOS (8.3 all uppercase)"}, {"nt", "Windows NT (8.3 mixed case, default)"}
};
static Dictionary<string, string> GetDefaultOptions() =>
new Dictionary<string, string> {{"debug", false.ToString()}};