mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
🎨Separate read-only filesystems from identify-only filesystem interfaces.
This commit is contained in:
@@ -105,70 +105,17 @@ namespace DiscImageChef.Filesystems
|
||||
sb.AppendFormat("Filesystem name: {0}", bfsSb.s_fsname).AppendLine();
|
||||
sb.AppendFormat("Volume name: {0}", bfsSb.s_volume).AppendLine();
|
||||
|
||||
xmlFsType = new FileSystemType();
|
||||
xmlFsType.Type = "BFS";
|
||||
xmlFsType.VolumeName = bfsSb.s_volume;
|
||||
xmlFsType.ClusterSize = (int)imagePlugin.Info.SectorSize;
|
||||
xmlFsType.Clusters = (long)(partition.End - partition.Start + 1);
|
||||
xmlFsType = new FileSystemType
|
||||
{
|
||||
Type = "BFS",
|
||||
VolumeName = bfsSb.s_volume,
|
||||
ClusterSize = (int)imagePlugin.Info.SectorSize,
|
||||
Clusters = (long)(partition.End - partition.Start + 1)
|
||||
};
|
||||
|
||||
information = sb.ToString();
|
||||
}
|
||||
|
||||
public virtual Errno Mount(IMediaImage imagePlugin, Partition partition, Encoding encoding, bool debug)
|
||||
{
|
||||
return Errno.NotImplemented;
|
||||
}
|
||||
|
||||
public virtual Errno Unmount()
|
||||
{
|
||||
return Errno.NotImplemented;
|
||||
}
|
||||
|
||||
public virtual Errno MapBlock(string path, long fileBlock, ref long deviceBlock)
|
||||
{
|
||||
return Errno.NotImplemented;
|
||||
}
|
||||
|
||||
public virtual Errno GetAttributes(string path, ref FileAttributes attributes)
|
||||
{
|
||||
return Errno.NotImplemented;
|
||||
}
|
||||
|
||||
public virtual Errno ListXAttr(string path, ref List<string> xattrs)
|
||||
{
|
||||
return Errno.NotImplemented;
|
||||
}
|
||||
|
||||
public virtual Errno GetXattr(string path, string xattr, ref byte[] buf)
|
||||
{
|
||||
return Errno.NotImplemented;
|
||||
}
|
||||
|
||||
public virtual Errno Read(string path, long offset, long size, ref byte[] buf)
|
||||
{
|
||||
return Errno.NotImplemented;
|
||||
}
|
||||
|
||||
public virtual Errno ReadDir(string path, ref List<string> contents)
|
||||
{
|
||||
return Errno.NotImplemented;
|
||||
}
|
||||
|
||||
public virtual Errno StatFs(ref FileSystemInfo stat)
|
||||
{
|
||||
return Errno.NotImplemented;
|
||||
}
|
||||
|
||||
public virtual Errno Stat(string path, ref FileEntryInfo stat)
|
||||
{
|
||||
return Errno.NotImplemented;
|
||||
}
|
||||
|
||||
public virtual Errno ReadLink(string path, ref string dest)
|
||||
{
|
||||
return Errno.NotImplemented;
|
||||
}
|
||||
|
||||
struct BFSSuperBlock
|
||||
{
|
||||
/// <summary>0x00, 0x1BADFACE</summary>
|
||||
|
||||
Reference in New Issue
Block a user