Filesystems should be public.

This commit is contained in:
2017-07-01 03:26:08 +01:00
parent 5fd16faede
commit dbe5a51222
55 changed files with 55 additions and 55 deletions

View File

@@ -37,7 +37,7 @@ using System.Collections.Generic;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class APFS : Filesystem public class APFS : Filesystem
{ {
const uint ApfsContainerMagic = 0x4253584E; // "NXSB" const uint ApfsContainerMagic = 0x4253584E; // "NXSB"
const uint ApfsVolumeMagic = 0x42535041; // "APSB" const uint ApfsVolumeMagic = 0x42535041; // "APSB"

View File

@@ -38,7 +38,7 @@ using DiscImageChef.Console;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class AcornADFS : Filesystem public class AcornADFS : Filesystem
{ {
const ulong ADFS_SB_POS = 0xC00; const ulong ADFS_SB_POS = 0xC00;

View File

@@ -37,7 +37,7 @@ using DiscImageChef.Console;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class AmigaDOSPlugin : Filesystem public class AmigaDOSPlugin : Filesystem
{ {
public AmigaDOSPlugin() public AmigaDOSPlugin()
{ {

View File

@@ -37,7 +37,7 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.Filesystems.AppleDOS namespace DiscImageChef.Filesystems.AppleDOS
{ {
partial class AppleDOS : Filesystem public partial class AppleDOS : Filesystem
{ {
bool mounted; bool mounted;
bool debug; bool debug;

View File

@@ -37,7 +37,7 @@ using System.Runtime.InteropServices;
namespace DiscImageChef.Filesystems.AppleDOS namespace DiscImageChef.Filesystems.AppleDOS
{ {
partial class AppleDOS : Filesystem public partial class AppleDOS : Filesystem
{ {
/// <summary> /// <summary>
/// Solves a symbolic link. /// Solves a symbolic link.

View File

@@ -37,7 +37,7 @@ using System.Runtime.InteropServices;
namespace DiscImageChef.Filesystems.AppleDOS namespace DiscImageChef.Filesystems.AppleDOS
{ {
partial class AppleDOS : Filesystem public partial class AppleDOS : Filesystem
{ {
public override Errno GetAttributes(string path, ref FileAttributes attributes) public override Errno GetAttributes(string path, ref FileAttributes attributes)
{ {

View File

@@ -37,7 +37,7 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.Filesystems.AppleDOS namespace DiscImageChef.Filesystems.AppleDOS
{ {
partial class AppleDOS : Filesystem public partial class AppleDOS : Filesystem
{ {
public override bool Identify(ImagePlugin imagePlugin, ulong partitionStart, ulong partitionEnd) public override bool Identify(ImagePlugin imagePlugin, ulong partitionStart, ulong partitionEnd)
{ {

View File

@@ -34,7 +34,7 @@ using System.Runtime.InteropServices;
namespace DiscImageChef.Filesystems.AppleDOS namespace DiscImageChef.Filesystems.AppleDOS
{ {
partial class AppleDOS : Filesystem public partial class AppleDOS : Filesystem
{ {
[StructLayout(LayoutKind.Sequential, Pack = 1)] [StructLayout(LayoutKind.Sequential, Pack = 1)]
struct VTOC struct VTOC

View File

@@ -36,7 +36,7 @@ using DiscImageChef.Console;
namespace DiscImageChef.Filesystems.AppleDOS namespace DiscImageChef.Filesystems.AppleDOS
{ {
partial class AppleDOS : Filesystem public partial class AppleDOS : Filesystem
{ {
/// <summary> /// <summary>
/// Mounts an Apple DOS filesystem /// Mounts an Apple DOS filesystem

View File

@@ -35,7 +35,7 @@ using System.Collections.Generic;
namespace DiscImageChef.Filesystems.AppleDOS namespace DiscImageChef.Filesystems.AppleDOS
{ {
partial class AppleDOS : Filesystem public partial class AppleDOS : Filesystem
{ {
/// <summary> /// <summary>
/// Lists all extended attributes, alternate data streams and forks of the given file. /// Lists all extended attributes, alternate data streams and forks of the given file.

View File

@@ -39,7 +39,7 @@ namespace DiscImageChef.Filesystems
{ {
// Information from Inside Macintosh // Information from Inside Macintosh
// https://developer.apple.com/legacy/library/documentation/mac/pdf/Files/File_Manager.pdf // https://developer.apple.com/legacy/library/documentation/mac/pdf/Files/File_Manager.pdf
class AppleHFS : Filesystem public class AppleHFS : Filesystem
{ {
/// <summary> /// <summary>
/// "BD", HFS magic /// "BD", HFS magic

View File

@@ -37,7 +37,7 @@ using System.Collections.Generic;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
// Information from Apple TechNote 1150: https://developer.apple.com/legacy/library/technotes/tn/tn1150.html // Information from Apple TechNote 1150: https://developer.apple.com/legacy/library/technotes/tn/tn1150.html
class AppleHFSPlus : Filesystem public class AppleHFSPlus : Filesystem
{ {
/// <summary> /// <summary>
/// "BD", HFS magic /// "BD", HFS magic

View File

@@ -38,7 +38,7 @@ using System.Text;
namespace DiscImageChef.Filesystems.AppleMFS namespace DiscImageChef.Filesystems.AppleMFS
{ {
// Information from Inside Macintosh Volume II // Information from Inside Macintosh Volume II
partial class AppleMFS : Filesystem public partial class AppleMFS : Filesystem
{ {
bool mounted; bool mounted;
bool debug; bool debug;

View File

@@ -33,7 +33,7 @@
namespace DiscImageChef.Filesystems.AppleMFS namespace DiscImageChef.Filesystems.AppleMFS
{ {
// Information from Inside Macintosh Volume II // Information from Inside Macintosh Volume II
partial class AppleMFS : Filesystem public partial class AppleMFS : Filesystem
{ {
const ushort MFS_MAGIC = 0xD2D7; const ushort MFS_MAGIC = 0xD2D7;
// "LK" // "LK"

View File

@@ -37,7 +37,7 @@ using DiscImageChef.Console;
namespace DiscImageChef.Filesystems.AppleMFS namespace DiscImageChef.Filesystems.AppleMFS
{ {
// Information from Inside Macintosh Volume II // 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) public override Errno ReadDir(string path, ref List<string> contents)
{ {

View File

@@ -37,7 +37,7 @@ using DiscImageChef.Console;
namespace DiscImageChef.Filesystems.AppleMFS namespace DiscImageChef.Filesystems.AppleMFS
{ {
// Information from Inside Macintosh Volume II // 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) public override Errno MapBlock(string path, long fileBlock, ref long deviceBlock)
{ {

View File

@@ -36,7 +36,7 @@ using System.Text;
namespace DiscImageChef.Filesystems.AppleMFS namespace DiscImageChef.Filesystems.AppleMFS
{ {
// Information from Inside Macintosh Volume II // 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) public override bool Identify(ImagePlugins.ImagePlugin imagePlugin, ulong partitionStart, ulong partitionEnd)
{ {

View File

@@ -35,7 +35,7 @@ using System;
namespace DiscImageChef.Filesystems.AppleMFS namespace DiscImageChef.Filesystems.AppleMFS
{ {
// Information from Inside Macintosh Volume II // Information from Inside Macintosh Volume II
partial class AppleMFS : Filesystem public partial class AppleMFS : Filesystem
{ {
/// <summary> /// <summary>
/// Master Directory Block, should be at offset 0x0400 bytes in volume /// Master Directory Block, should be at offset 0x0400 bytes in volume

View File

@@ -36,7 +36,7 @@ using System.Collections.Generic;
namespace DiscImageChef.Filesystems.AppleMFS namespace DiscImageChef.Filesystems.AppleMFS
{ {
// Information from Inside Macintosh Volume II // Information from Inside Macintosh Volume II
partial class AppleMFS : Filesystem public partial class AppleMFS : Filesystem
{ {
public override Errno Mount(bool debug) public override Errno Mount(bool debug)
{ {

View File

@@ -37,7 +37,7 @@ using System;
namespace DiscImageChef.Filesystems.AppleMFS namespace DiscImageChef.Filesystems.AppleMFS
{ {
// Information from Inside Macintosh Volume II // 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) public override Errno ListXAttr(string path, ref List<string> xattrs)
{ {

View File

@@ -37,7 +37,7 @@ using System.Collections.Generic;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
// Information from Practical Filesystem Design, ISBN 1-55860-497-9 // 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) // Little endian constants (that is, as read by .NET :p)
const uint BEFS_MAGIC1 = 0x42465331; const uint BEFS_MAGIC1 = 0x42465331;

View File

@@ -38,7 +38,7 @@ using System.Collections.Generic;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class BTRFS : Filesystem public class BTRFS : Filesystem
{ {
/// <summary> /// <summary>
/// BTRFS magic "_BHRfS_M" /// BTRFS magic "_BHRfS_M"

View File

@@ -37,7 +37,7 @@ using System.Text;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class CBM : Filesystem public class CBM : Filesystem
{ {
public CBM() public CBM()
{ {

View File

@@ -38,7 +38,7 @@ using System.Security.Policy;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class Cram : Filesystem public class Cram : Filesystem
{ {
public Cram() public Cram()
{ {

View File

@@ -39,7 +39,7 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class ECMA67 : Filesystem public class ECMA67 : Filesystem
{ {
public ECMA67() public ECMA67()
{ {

View File

@@ -37,7 +37,7 @@ using System.Text;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class F2FS : Filesystem public class F2FS : Filesystem
{ {
[StructLayout(LayoutKind.Sequential, Pack = 1)] [StructLayout(LayoutKind.Sequential, Pack = 1)]
struct F2FS_Superblock struct F2FS_Superblock

View File

@@ -39,7 +39,7 @@ namespace DiscImageChef.Filesystems
{ {
// TODO: Implement detecting DOS bootable disks // TODO: Implement detecting DOS bootable disks
// TODO: Implement detecting Atari TOS bootable disks and printing corresponding fields // TODO: Implement detecting Atari TOS bootable disks and printing corresponding fields
class FAT : Filesystem public class FAT : Filesystem
{ {
public FAT() public FAT()
{ {

View File

@@ -37,7 +37,7 @@ using System.Text;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class FATX : Filesystem public class FATX : Filesystem
{ {
[StructLayout(LayoutKind.Sequential, Pack = 1)] [StructLayout(LayoutKind.Sequential, Pack = 1)]
struct FATX_Superblock struct FATX_Superblock

View File

@@ -37,7 +37,7 @@ using System.Collections.Generic;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
// Information from an old unnamed document // Information from an old unnamed document
class HPFS : Filesystem public class HPFS : Filesystem
{ {
public HPFS() public HPFS()
{ {

View File

@@ -43,7 +43,7 @@ namespace DiscImageChef.Filesystems
// TODO: Differentiate ISO Level 1, 2, 3 and ISO 9660:1999 // TODO: Differentiate ISO Level 1, 2, 3 and ISO 9660:1999
// TODO: Apple extensiones, requires XA or advance RR interpretation. // TODO: Apple extensiones, requires XA or advance RR interpretation.
// TODO: Needs a major rewrite // TODO: Needs a major rewrite
class ISO9660Plugin : Filesystem public class ISO9660Plugin : Filesystem
{ {
//static bool alreadyLaunched; //static bool alreadyLaunched;

View File

@@ -37,7 +37,7 @@ using System.Text;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class JFS : Filesystem public class JFS : Filesystem
{ {
[Flags] [Flags]
enum JFS_Flags : uint enum JFS_Flags : uint

View File

@@ -37,7 +37,7 @@ using System.Collections.Generic;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
// Information from the Linux kernel // Information from the Linux kernel
class MinixFS : Filesystem public class MinixFS : Filesystem
{ {
const ushort MINIX_MAGIC = 0x137F; const ushort MINIX_MAGIC = 0x137F;
// Minix v1, 14 char filenames // Minix v1, 14 char filenames

View File

@@ -37,7 +37,7 @@ using System.Text;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class NILFS2 : Filesystem public class NILFS2 : Filesystem
{ {
enum NILFS2_State : ushort enum NILFS2_State : ushort
{ {

View File

@@ -38,7 +38,7 @@ using System.Collections.Generic;
// Information from Inside Windows NT // Information from Inside Windows NT
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class NTFS : Filesystem public class NTFS : Filesystem
{ {
public NTFS() public NTFS()
{ {

View File

@@ -37,7 +37,7 @@ using DiscImageChef.Console;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class NintendoPlugin : Filesystem public class NintendoPlugin : Filesystem
{ {
public NintendoPlugin() public NintendoPlugin()
{ {

View File

@@ -45,7 +45,7 @@ namespace DiscImageChef.Filesystems
// There is an ODS with signature "DECFILES11A", yet to be seen // 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. // Time is a 64 bit unsigned integer, tenths of microseconds since 1858/11/17 00:00:00.
// TODO: Implement checksum // TODO: Implement checksum
class ODS : Filesystem public class ODS : Filesystem
{ {
public ODS() public ODS()
{ {

View File

@@ -36,7 +36,7 @@ using System.Collections.Generic;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class OperaFS : Filesystem public class OperaFS : Filesystem
{ {
public OperaFS() public OperaFS()
{ {

View File

@@ -36,7 +36,7 @@ using System.Collections.Generic;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class PCEnginePlugin : Filesystem public class PCEnginePlugin : Filesystem
{ {
public PCEnginePlugin() public PCEnginePlugin()
{ {

View File

@@ -37,7 +37,7 @@ using System.Runtime.InteropServices;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class PFS : Filesystem public class PFS : Filesystem
{ {
public PFS() public PFS()
{ {

View File

@@ -38,7 +38,7 @@ using System.Text;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class QNX4 : Filesystem public class QNX4 : Filesystem
{ {
struct QNX4_Extent struct QNX4_Extent
{ {

View File

@@ -37,7 +37,7 @@ using System.Text;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class QNX6 : Filesystem public class QNX6 : Filesystem
{ {
[StructLayout(LayoutKind.Sequential, Pack = 1)] [StructLayout(LayoutKind.Sequential, Pack = 1)]
struct QNX6_RootNode struct QNX6_RootNode

View File

@@ -38,7 +38,7 @@ using System.Text;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class Reiser : Filesystem public class Reiser : Filesystem
{ {
[StructLayout(LayoutKind.Sequential, Pack = 1)] [StructLayout(LayoutKind.Sequential, Pack = 1)]
struct ReiserJournalParams struct ReiserJournalParams

View File

@@ -38,7 +38,7 @@ using System.Linq;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class Reiser4 : Filesystem public class Reiser4 : Filesystem
{ {
[StructLayout(LayoutKind.Sequential, Pack = 1)] [StructLayout(LayoutKind.Sequential, Pack = 1)]
struct Reiser4_Superblock struct Reiser4_Superblock

View File

@@ -37,7 +37,7 @@ using System.Text;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class SFS : Filesystem public class SFS : Filesystem
{ {
public SFS() public SFS()
{ {

View File

@@ -38,7 +38,7 @@ using DiscImageChef.Console;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
// Based on FAT's BPB, cannot find a FAT or directory // Based on FAT's BPB, cannot find a FAT or directory
class SolarFS : Filesystem public class SolarFS : Filesystem
{ {
public SolarFS() public SolarFS()
{ {

View File

@@ -37,7 +37,7 @@ using System.Text;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class Squash : Filesystem public class Squash : Filesystem
{ {
public Squash() public Squash()
{ {

View File

@@ -37,7 +37,7 @@ using System.Collections.Generic;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
// Information from the Linux kernel // Information from the Linux kernel
class SysVfs : Filesystem public class SysVfs : Filesystem
{ {
const uint XENIX_MAGIC = 0x002B5544; const uint XENIX_MAGIC = 0x002B5544;
const uint XENIX_CIGAM = 0x44552B00; const uint XENIX_CIGAM = 0x44552B00;

View File

@@ -41,7 +41,7 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
// TODO: Detect bootable // TODO: Detect bootable
class UDF : Filesystem public class UDF : Filesystem
{ {
public UDF() public UDF()
{ {

View File

@@ -38,7 +38,7 @@ using DiscImageChef.Console;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
// Information from the Linux kernel // Information from the Linux kernel
class BFS : Filesystem public class BFS : Filesystem
{ {
const uint BFS_MAGIC = 0x1BADFACE; const uint BFS_MAGIC = 0x1BADFACE;

View File

@@ -37,7 +37,7 @@ using System.Text;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class VMfs : Filesystem public class VMfs : Filesystem
{ {
public VMfs() public VMfs()
{ {

View File

@@ -37,7 +37,7 @@ using System.Text;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class VxFS : Filesystem public class VxFS : Filesystem
{ {
public VxFS() public VxFS()
{ {

View File

@@ -37,7 +37,7 @@ using System.Text;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
class XFS : Filesystem public class XFS : Filesystem
{ {
[StructLayout(LayoutKind.Sequential, Pack = 1)] [StructLayout(LayoutKind.Sequential, Pack = 1)]
struct XFS_Superblock struct XFS_Superblock

View File

@@ -56,7 +56,7 @@ namespace DiscImageChef.Filesystems
* It can also be encoded little or big endian. * 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. * 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_Magic = 0x0210DA7AB10C7A11;
const ulong ZEC_Cigam = 0x117A0CB17ADA1002; const ulong ZEC_Cigam = 0x117A0CB17ADA1002;

View File

@@ -37,7 +37,7 @@ using System.Collections.Generic;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
// Information from the Linux kernel // Information from the Linux kernel
class ext2FS : Filesystem public class ext2FS : Filesystem
{ {
public ext2FS() public ext2FS()
{ {

View File

@@ -37,7 +37,7 @@ using System.Collections.Generic;
namespace DiscImageChef.Filesystems namespace DiscImageChef.Filesystems
{ {
// Information from the Linux kernel // Information from the Linux kernel
class extFS : Filesystem public class extFS : Filesystem
{ {
public extFS() public extFS()
{ {