mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Filesystems should be public.
This commit is contained in:
@@ -37,7 +37,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class APFS : Filesystem
|
||||
public class APFS : Filesystem
|
||||
{
|
||||
const uint ApfsContainerMagic = 0x4253584E; // "NXSB"
|
||||
const uint ApfsVolumeMagic = 0x42535041; // "APSB"
|
||||
|
||||
@@ -38,7 +38,7 @@ using DiscImageChef.Console;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class AcornADFS : Filesystem
|
||||
public class AcornADFS : Filesystem
|
||||
{
|
||||
const ulong ADFS_SB_POS = 0xC00;
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ using DiscImageChef.Console;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class AmigaDOSPlugin : Filesystem
|
||||
public class AmigaDOSPlugin : Filesystem
|
||||
{
|
||||
public AmigaDOSPlugin()
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ using DiscImageChef.ImagePlugins;
|
||||
|
||||
namespace DiscImageChef.Filesystems.AppleDOS
|
||||
{
|
||||
partial class AppleDOS : Filesystem
|
||||
public partial class AppleDOS : Filesystem
|
||||
{
|
||||
bool mounted;
|
||||
bool debug;
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Runtime.InteropServices;
|
||||
|
||||
namespace DiscImageChef.Filesystems.AppleDOS
|
||||
{
|
||||
partial class AppleDOS : Filesystem
|
||||
public partial class AppleDOS : Filesystem
|
||||
{
|
||||
/// <summary>
|
||||
/// Solves a symbolic link.
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Runtime.InteropServices;
|
||||
|
||||
namespace DiscImageChef.Filesystems.AppleDOS
|
||||
{
|
||||
partial class AppleDOS : Filesystem
|
||||
public partial class AppleDOS : Filesystem
|
||||
{
|
||||
public override Errno GetAttributes(string path, ref FileAttributes attributes)
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ using DiscImageChef.ImagePlugins;
|
||||
|
||||
namespace DiscImageChef.Filesystems.AppleDOS
|
||||
{
|
||||
partial class AppleDOS : Filesystem
|
||||
public partial class AppleDOS : Filesystem
|
||||
{
|
||||
public override bool Identify(ImagePlugin imagePlugin, ulong partitionStart, ulong partitionEnd)
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@ using System.Runtime.InteropServices;
|
||||
|
||||
namespace DiscImageChef.Filesystems.AppleDOS
|
||||
{
|
||||
partial class AppleDOS : Filesystem
|
||||
public partial class AppleDOS : Filesystem
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct VTOC
|
||||
|
||||
@@ -36,7 +36,7 @@ using DiscImageChef.Console;
|
||||
|
||||
namespace DiscImageChef.Filesystems.AppleDOS
|
||||
{
|
||||
partial class AppleDOS : Filesystem
|
||||
public partial class AppleDOS : Filesystem
|
||||
{
|
||||
/// <summary>
|
||||
/// Mounts an Apple DOS filesystem
|
||||
|
||||
@@ -35,7 +35,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace DiscImageChef.Filesystems.AppleDOS
|
||||
{
|
||||
partial class AppleDOS : Filesystem
|
||||
public partial class AppleDOS : Filesystem
|
||||
{
|
||||
/// <summary>
|
||||
/// Lists all extended attributes, alternate data streams and forks of the given file.
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace DiscImageChef.Filesystems
|
||||
{
|
||||
// Information from Inside Macintosh
|
||||
// https://developer.apple.com/legacy/library/documentation/mac/pdf/Files/File_Manager.pdf
|
||||
class AppleHFS : Filesystem
|
||||
public class AppleHFS : Filesystem
|
||||
{
|
||||
/// <summary>
|
||||
/// "BD", HFS magic
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Collections.Generic;
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
// Information from Apple TechNote 1150: https://developer.apple.com/legacy/library/technotes/tn/tn1150.html
|
||||
class AppleHFSPlus : Filesystem
|
||||
public class AppleHFSPlus : Filesystem
|
||||
{
|
||||
/// <summary>
|
||||
/// "BD", HFS magic
|
||||
|
||||
@@ -38,7 +38,7 @@ using System.Text;
|
||||
namespace DiscImageChef.Filesystems.AppleMFS
|
||||
{
|
||||
// Information from Inside Macintosh Volume II
|
||||
partial class AppleMFS : Filesystem
|
||||
public partial class AppleMFS : Filesystem
|
||||
{
|
||||
bool mounted;
|
||||
bool debug;
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
namespace DiscImageChef.Filesystems.AppleMFS
|
||||
{
|
||||
// Information from Inside Macintosh Volume II
|
||||
partial class AppleMFS : Filesystem
|
||||
public partial class AppleMFS : Filesystem
|
||||
{
|
||||
const ushort MFS_MAGIC = 0xD2D7;
|
||||
// "LK"
|
||||
|
||||
@@ -37,7 +37,7 @@ using DiscImageChef.Console;
|
||||
namespace DiscImageChef.Filesystems.AppleMFS
|
||||
{
|
||||
// Information from Inside Macintosh Volume II
|
||||
partial class AppleMFS : Filesystem
|
||||
public partial class AppleMFS : Filesystem
|
||||
{
|
||||
public override Errno ReadDir(string path, ref List<string> contents)
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ using DiscImageChef.Console;
|
||||
namespace DiscImageChef.Filesystems.AppleMFS
|
||||
{
|
||||
// Information from Inside Macintosh Volume II
|
||||
partial class AppleMFS : Filesystem
|
||||
public partial class AppleMFS : Filesystem
|
||||
{
|
||||
public override Errno MapBlock(string path, long fileBlock, ref long deviceBlock)
|
||||
{
|
||||
|
||||
@@ -36,7 +36,7 @@ using System.Text;
|
||||
namespace DiscImageChef.Filesystems.AppleMFS
|
||||
{
|
||||
// Information from Inside Macintosh Volume II
|
||||
partial class AppleMFS : Filesystem
|
||||
public partial class AppleMFS : Filesystem
|
||||
{
|
||||
public override bool Identify(ImagePlugins.ImagePlugin imagePlugin, ulong partitionStart, ulong partitionEnd)
|
||||
{
|
||||
|
||||
@@ -35,7 +35,7 @@ using System;
|
||||
namespace DiscImageChef.Filesystems.AppleMFS
|
||||
{
|
||||
// Information from Inside Macintosh Volume II
|
||||
partial class AppleMFS : Filesystem
|
||||
public partial class AppleMFS : Filesystem
|
||||
{
|
||||
/// <summary>
|
||||
/// Master Directory Block, should be at offset 0x0400 bytes in volume
|
||||
|
||||
@@ -36,7 +36,7 @@ using System.Collections.Generic;
|
||||
namespace DiscImageChef.Filesystems.AppleMFS
|
||||
{
|
||||
// Information from Inside Macintosh Volume II
|
||||
partial class AppleMFS : Filesystem
|
||||
public partial class AppleMFS : Filesystem
|
||||
{
|
||||
public override Errno Mount(bool debug)
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ using System;
|
||||
namespace DiscImageChef.Filesystems.AppleMFS
|
||||
{
|
||||
// Information from Inside Macintosh Volume II
|
||||
partial class AppleMFS : Filesystem
|
||||
public partial class AppleMFS : Filesystem
|
||||
{
|
||||
public override Errno ListXAttr(string path, ref List<string> xattrs)
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Collections.Generic;
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
// Information from Practical Filesystem Design, ISBN 1-55860-497-9
|
||||
class BeFS : Filesystem
|
||||
public class BeFS : Filesystem
|
||||
{
|
||||
// Little endian constants (that is, as read by .NET :p)
|
||||
const uint BEFS_MAGIC1 = 0x42465331;
|
||||
|
||||
@@ -38,7 +38,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class BTRFS : Filesystem
|
||||
public class BTRFS : Filesystem
|
||||
{
|
||||
/// <summary>
|
||||
/// BTRFS magic "_BHRfS_M"
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Text;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class CBM : Filesystem
|
||||
public class CBM : Filesystem
|
||||
{
|
||||
public CBM()
|
||||
{
|
||||
|
||||
@@ -38,7 +38,7 @@ using System.Security.Policy;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class Cram : Filesystem
|
||||
public class Cram : Filesystem
|
||||
{
|
||||
public Cram()
|
||||
{
|
||||
|
||||
@@ -39,7 +39,7 @@ using DiscImageChef.ImagePlugins;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class ECMA67 : Filesystem
|
||||
public class ECMA67 : Filesystem
|
||||
{
|
||||
public ECMA67()
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Text;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class F2FS : Filesystem
|
||||
public class F2FS : Filesystem
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct F2FS_Superblock
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace DiscImageChef.Filesystems
|
||||
{
|
||||
// TODO: Implement detecting DOS bootable disks
|
||||
// TODO: Implement detecting Atari TOS bootable disks and printing corresponding fields
|
||||
class FAT : Filesystem
|
||||
public class FAT : Filesystem
|
||||
{
|
||||
public FAT()
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Text;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class FATX : Filesystem
|
||||
public class FATX : Filesystem
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct FATX_Superblock
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Collections.Generic;
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
// Information from an old unnamed document
|
||||
class HPFS : Filesystem
|
||||
public class HPFS : Filesystem
|
||||
{
|
||||
public HPFS()
|
||||
{
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace DiscImageChef.Filesystems
|
||||
// TODO: Differentiate ISO Level 1, 2, 3 and ISO 9660:1999
|
||||
// TODO: Apple extensiones, requires XA or advance RR interpretation.
|
||||
// TODO: Needs a major rewrite
|
||||
class ISO9660Plugin : Filesystem
|
||||
public class ISO9660Plugin : Filesystem
|
||||
{
|
||||
//static bool alreadyLaunched;
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Text;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class JFS : Filesystem
|
||||
public class JFS : Filesystem
|
||||
{
|
||||
[Flags]
|
||||
enum JFS_Flags : uint
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Collections.Generic;
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
// Information from the Linux kernel
|
||||
class MinixFS : Filesystem
|
||||
public class MinixFS : Filesystem
|
||||
{
|
||||
const ushort MINIX_MAGIC = 0x137F;
|
||||
// Minix v1, 14 char filenames
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Text;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class NILFS2 : Filesystem
|
||||
public class NILFS2 : Filesystem
|
||||
{
|
||||
enum NILFS2_State : ushort
|
||||
{
|
||||
|
||||
@@ -38,7 +38,7 @@ using System.Collections.Generic;
|
||||
// Information from Inside Windows NT
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class NTFS : Filesystem
|
||||
public class NTFS : Filesystem
|
||||
{
|
||||
public NTFS()
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ using DiscImageChef.Console;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class NintendoPlugin : Filesystem
|
||||
public class NintendoPlugin : Filesystem
|
||||
{
|
||||
public NintendoPlugin()
|
||||
{
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace DiscImageChef.Filesystems
|
||||
// There is an ODS with signature "DECFILES11A", yet to be seen
|
||||
// Time is a 64 bit unsigned integer, tenths of microseconds since 1858/11/17 00:00:00.
|
||||
// TODO: Implement checksum
|
||||
class ODS : Filesystem
|
||||
public class ODS : Filesystem
|
||||
{
|
||||
public ODS()
|
||||
{
|
||||
|
||||
@@ -36,7 +36,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class OperaFS : Filesystem
|
||||
public class OperaFS : Filesystem
|
||||
{
|
||||
public OperaFS()
|
||||
{
|
||||
|
||||
@@ -36,7 +36,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class PCEnginePlugin : Filesystem
|
||||
public class PCEnginePlugin : Filesystem
|
||||
{
|
||||
public PCEnginePlugin()
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Runtime.InteropServices;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class PFS : Filesystem
|
||||
public class PFS : Filesystem
|
||||
{
|
||||
public PFS()
|
||||
{
|
||||
|
||||
@@ -38,7 +38,7 @@ using System.Text;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class QNX4 : Filesystem
|
||||
public class QNX4 : Filesystem
|
||||
{
|
||||
struct QNX4_Extent
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Text;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class QNX6 : Filesystem
|
||||
public class QNX6 : Filesystem
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct QNX6_RootNode
|
||||
|
||||
@@ -38,7 +38,7 @@ using System.Text;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class Reiser : Filesystem
|
||||
public class Reiser : Filesystem
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct ReiserJournalParams
|
||||
|
||||
@@ -38,7 +38,7 @@ using System.Linq;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class Reiser4 : Filesystem
|
||||
public class Reiser4 : Filesystem
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct Reiser4_Superblock
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Text;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class SFS : Filesystem
|
||||
public class SFS : Filesystem
|
||||
{
|
||||
public SFS()
|
||||
{
|
||||
|
||||
@@ -38,7 +38,7 @@ using DiscImageChef.Console;
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
// Based on FAT's BPB, cannot find a FAT or directory
|
||||
class SolarFS : Filesystem
|
||||
public class SolarFS : Filesystem
|
||||
{
|
||||
public SolarFS()
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Text;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class Squash : Filesystem
|
||||
public class Squash : Filesystem
|
||||
{
|
||||
public Squash()
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Collections.Generic;
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
// Information from the Linux kernel
|
||||
class SysVfs : Filesystem
|
||||
public class SysVfs : Filesystem
|
||||
{
|
||||
const uint XENIX_MAGIC = 0x002B5544;
|
||||
const uint XENIX_CIGAM = 0x44552B00;
|
||||
|
||||
@@ -41,7 +41,7 @@ using DiscImageChef.ImagePlugins;
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
// TODO: Detect bootable
|
||||
class UDF : Filesystem
|
||||
public class UDF : Filesystem
|
||||
{
|
||||
public UDF()
|
||||
{
|
||||
|
||||
@@ -38,7 +38,7 @@ using DiscImageChef.Console;
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
// Information from the Linux kernel
|
||||
class BFS : Filesystem
|
||||
public class BFS : Filesystem
|
||||
{
|
||||
const uint BFS_MAGIC = 0x1BADFACE;
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Text;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class VMfs : Filesystem
|
||||
public class VMfs : Filesystem
|
||||
{
|
||||
public VMfs()
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Text;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class VxFS : Filesystem
|
||||
public class VxFS : Filesystem
|
||||
{
|
||||
public VxFS()
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Text;
|
||||
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
class XFS : Filesystem
|
||||
public class XFS : Filesystem
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct XFS_Superblock
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace DiscImageChef.Filesystems
|
||||
* It can also be encoded little or big endian.
|
||||
* Because of this variations, ZFS stored a header indicating the used encoding and endianess before the encoded nvlist.
|
||||
*/
|
||||
class ZFS : Filesystem
|
||||
public class ZFS : Filesystem
|
||||
{
|
||||
const ulong ZEC_Magic = 0x0210DA7AB10C7A11;
|
||||
const ulong ZEC_Cigam = 0x117A0CB17ADA1002;
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Collections.Generic;
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
// Information from the Linux kernel
|
||||
class ext2FS : Filesystem
|
||||
public class ext2FS : Filesystem
|
||||
{
|
||||
public ext2FS()
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Collections.Generic;
|
||||
namespace DiscImageChef.Filesystems
|
||||
{
|
||||
// Information from the Linux kernel
|
||||
class extFS : Filesystem
|
||||
public class extFS : Filesystem
|
||||
{
|
||||
public extFS()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user