Added preliminar early-API for filesystem read-only access.

This commit is contained in:
2016-07-21 17:16:08 +01:00
parent 66a58e3351
commit 826afbac0c
27 changed files with 1542 additions and 3 deletions

View File

@@ -43,6 +43,7 @@ using DiscImageChef.PartPlugins;
using System.Collections.Generic;
using DiscImageChef.Console;
using System.Runtime.Remoting.Messaging;
using System.Collections.Generic;
namespace DiscImageChef.Filesystems
{
@@ -490,6 +491,61 @@ namespace DiscImageChef.Filesystems
return string.Format("unknown type {0}", type);
}
public override Errno Mount()
{
return Errno.NotImplemented;
}
public override Errno Unmount()
{
return Errno.NotImplemented;
}
public override Errno MapBlock(string path, long fileBlock, ref long deviceBlock)
{
return Errno.NotImplemented;
}
public override Errno GetAttributes(string path, ref FileAttributes attributes)
{
return Errno.NotImplemented;
}
public override Errno ListXAttr(string path, ref List<string> xattrs)
{
return Errno.NotImplemented;
}
public override Errno GetXattr(string path, string xattr, ref byte[] buf)
{
return Errno.NotImplemented;
}
public override Errno Read(string path, long offset, long size, ref byte[] buf)
{
return Errno.NotImplemented;
}
public override Errno ReadDir(string path, ref List<string> contents)
{
return Errno.NotImplemented;
}
public override Errno StatFs(ref FileSystemInfo stat)
{
return Errno.NotImplemented;
}
public override Errno Stat(string path, ref FileEntryInfo stat)
{
return Errno.NotImplemented;
}
public override Errno ReadLink(string path, ref string dest)
{
return Errno.NotImplemented;
}
}
}