mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Partitions should be public.
This commit is contained in:
@@ -39,7 +39,7 @@ using DiscImageChef.ImagePlugins;
|
|||||||
|
|
||||||
namespace DiscImageChef.PartPlugins
|
namespace DiscImageChef.PartPlugins
|
||||||
{
|
{
|
||||||
class Acorn : PartPlugin
|
public class Acorn : PartPlugin
|
||||||
{
|
{
|
||||||
const ulong ADFS_SB_POS = 0xC00;
|
const ulong ADFS_SB_POS = 0xC00;
|
||||||
const uint LINUX_MAGIC = 0xDEAFA1DE;
|
const uint LINUX_MAGIC = 0xDEAFA1DE;
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ namespace DiscImageChef.PartPlugins
|
|||||||
{
|
{
|
||||||
// Information about structures learnt from Inside Macintosh
|
// Information about structures learnt from Inside Macintosh
|
||||||
// Constants from image testing
|
// Constants from image testing
|
||||||
class AppleMap : PartPlugin
|
public class AppleMap : PartPlugin
|
||||||
{
|
{
|
||||||
// "ER"
|
// "ER"
|
||||||
const ushort APM_MAGIC = 0x4552;
|
const ushort APM_MAGIC = 0x4552;
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ using DiscImageChef.Console;
|
|||||||
|
|
||||||
namespace DiscImageChef.PartPlugins
|
namespace DiscImageChef.PartPlugins
|
||||||
{
|
{
|
||||||
class AtariPartitions : PartPlugin
|
public class AtariPartitions : PartPlugin
|
||||||
{
|
{
|
||||||
const uint TypeGEMDOS = 0x0047454D;
|
const uint TypeGEMDOS = 0x0047454D;
|
||||||
const uint TypeBigGEMDOS = 0x0042474D;
|
const uint TypeBigGEMDOS = 0x0042474D;
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ using DiscImageChef.ImagePlugins;
|
|||||||
|
|
||||||
namespace DiscImageChef.PartPlugins
|
namespace DiscImageChef.PartPlugins
|
||||||
{
|
{
|
||||||
class BSD : PartPlugin
|
public class BSD : PartPlugin
|
||||||
{
|
{
|
||||||
public const uint DISKMAGIC = 0x82564557;
|
public const uint DISKMAGIC = 0x82564557;
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ using DiscImageChef.ImagePlugins;
|
|||||||
|
|
||||||
namespace DiscImageChef.PartPlugins
|
namespace DiscImageChef.PartPlugins
|
||||||
{
|
{
|
||||||
class DEC : PartPlugin
|
public class DEC : PartPlugin
|
||||||
{
|
{
|
||||||
const int PT_MAGIC = 0x032957;
|
const int PT_MAGIC = 0x032957;
|
||||||
const int PT_VALID = 1;
|
const int PT_VALID = 1;
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ using DiscImageChef.ImagePlugins;
|
|||||||
|
|
||||||
namespace DiscImageChef.PartPlugins
|
namespace DiscImageChef.PartPlugins
|
||||||
{
|
{
|
||||||
class DragonFlyBSD : PartPlugin
|
public class DragonFlyBSD : PartPlugin
|
||||||
{
|
{
|
||||||
const uint DISK_MAGIC64 = 0xC4464C59;
|
const uint DISK_MAGIC64 = 0xC4464C59;
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ using DiscImageChef.Console;
|
|||||||
|
|
||||||
namespace DiscImageChef.PartPlugins
|
namespace DiscImageChef.PartPlugins
|
||||||
{
|
{
|
||||||
class GuidPartitionTable : PartPlugin
|
public class GuidPartitionTable : PartPlugin
|
||||||
{
|
{
|
||||||
const ulong GptMagic = 0x5452415020494645;
|
const ulong GptMagic = 0x5452415020494645;
|
||||||
const uint GptRevision1 = 0x00010000;
|
const uint GptRevision1 = 0x00010000;
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ using DiscImageChef.ImagePlugins;
|
|||||||
|
|
||||||
namespace DiscImageChef.PartPlugins
|
namespace DiscImageChef.PartPlugins
|
||||||
{
|
{
|
||||||
class Human68K : PartPlugin
|
public class Human68K : PartPlugin
|
||||||
{
|
{
|
||||||
const uint X68kMagic = 0x5836384B;
|
const uint X68kMagic = 0x5836384B;
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ using System.Collections.Generic;
|
|||||||
// TODO: Support AAP, AST, SpeedStor and Ontrack extensions
|
// TODO: Support AAP, AST, SpeedStor and Ontrack extensions
|
||||||
namespace DiscImageChef.PartPlugins
|
namespace DiscImageChef.PartPlugins
|
||||||
{
|
{
|
||||||
class MBR : PartPlugin
|
public class MBR : PartPlugin
|
||||||
{
|
{
|
||||||
const ushort MBRSignature = 0xAA55;
|
const ushort MBRSignature = 0xAA55;
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ using System.Text;
|
|||||||
// Information learnt from XNU source and testing against real disks
|
// Information learnt from XNU source and testing against real disks
|
||||||
namespace DiscImageChef.PartPlugins
|
namespace DiscImageChef.PartPlugins
|
||||||
{
|
{
|
||||||
class NeXTDisklabel : PartPlugin
|
public class NeXTDisklabel : PartPlugin
|
||||||
{
|
{
|
||||||
const uint NEXT_MAGIC1 = 0x4E655854;
|
const uint NEXT_MAGIC1 = 0x4E655854;
|
||||||
// "NeXT"
|
// "NeXT"
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ using DiscImageChef.ImagePlugins;
|
|||||||
|
|
||||||
namespace DiscImageChef.PartPlugins
|
namespace DiscImageChef.PartPlugins
|
||||||
{
|
{
|
||||||
class PC98 : PartPlugin
|
public class PC98 : PartPlugin
|
||||||
{
|
{
|
||||||
const ushort IntelMagic = 0xAA55;
|
const ushort IntelMagic = 0xAA55;
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ using DiscImageChef.ImagePlugins;
|
|||||||
|
|
||||||
namespace DiscImageChef.PartPlugins
|
namespace DiscImageChef.PartPlugins
|
||||||
{
|
{
|
||||||
class RioKarma : PartPlugin
|
public class RioKarma : PartPlugin
|
||||||
{
|
{
|
||||||
const ushort KarmaMagic = 0xAB56;
|
const ushort KarmaMagic = 0xAB56;
|
||||||
const byte EntryMagic = 0x4D;
|
const byte EntryMagic = 0x4D;
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ using DiscImageChef.ImagePlugins;
|
|||||||
|
|
||||||
namespace DiscImageChef.PartPlugins
|
namespace DiscImageChef.PartPlugins
|
||||||
{
|
{
|
||||||
class SGI : PartPlugin
|
public class SGI : PartPlugin
|
||||||
{
|
{
|
||||||
const int SGI_MAGIC = 0x0BE5A941;
|
const int SGI_MAGIC = 0x0BE5A941;
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ using DiscImageChef.Console;
|
|||||||
|
|
||||||
namespace DiscImageChef.PartPlugins
|
namespace DiscImageChef.PartPlugins
|
||||||
{
|
{
|
||||||
class SunDisklabel : PartPlugin
|
public class SunDisklabel : PartPlugin
|
||||||
{
|
{
|
||||||
const ushort SUN_MAGIC = 0xDABE;
|
const ushort SUN_MAGIC = 0xDABE;
|
||||||
const uint VTOC_MAGIC = 0x600DDEEE;
|
const uint VTOC_MAGIC = 0x600DDEEE;
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ using DiscImageChef.ImagePlugins;
|
|||||||
|
|
||||||
namespace DiscImageChef.PartPlugins
|
namespace DiscImageChef.PartPlugins
|
||||||
{
|
{
|
||||||
class UNIX : PartPlugin
|
public class UNIX : PartPlugin
|
||||||
{
|
{
|
||||||
public const uint UNIXDiskLabel_MAGIC = 0xCA5E600D;
|
public const uint UNIXDiskLabel_MAGIC = 0xCA5E600D;
|
||||||
public const uint UNIXVTOC_MAGIC = 0x600DDEEE;
|
public const uint UNIXVTOC_MAGIC = 0x600DDEEE;
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ using DiscImageChef.ImagePlugins;
|
|||||||
|
|
||||||
namespace DiscImageChef.PartPlugins
|
namespace DiscImageChef.PartPlugins
|
||||||
{
|
{
|
||||||
class Xbox : PartPlugin
|
public class Xbox : PartPlugin
|
||||||
{
|
{
|
||||||
const uint XboxCigam = 0x46415458;
|
const uint XboxCigam = 0x46415458;
|
||||||
const uint XboxMagic = 0x58544146;
|
const uint XboxMagic = 0x58544146;
|
||||||
|
|||||||
47
DiscImageChef.Tests/Filesystems/FAT12_MBR.cs
Normal file
47
DiscImageChef.Tests/Filesystems/FAT12_MBR.cs
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
// /***************************************************************************
|
||||||
|
// The Disc Image Chef
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
//
|
||||||
|
// Filename : FAT12_MBR.cs
|
||||||
|
// Version : 1.0
|
||||||
|
// Author(s) : Natalia Portillo
|
||||||
|
//
|
||||||
|
// Component : Component
|
||||||
|
//
|
||||||
|
// Revision : $Revision$
|
||||||
|
// Last change by : $Author$
|
||||||
|
// Date : $Date$
|
||||||
|
//
|
||||||
|
// --[ Description ] ----------------------------------------------------------
|
||||||
|
//
|
||||||
|
// Description
|
||||||
|
//
|
||||||
|
// --[ License ] --------------------------------------------------------------
|
||||||
|
//
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
//
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
// Copyright (C) 2011-2015 Claunia.com
|
||||||
|
// ****************************************************************************/
|
||||||
|
// //$Id$
|
||||||
|
using System;
|
||||||
|
namespace DiscImageChef.Tests.Filesystems
|
||||||
|
{
|
||||||
|
public class FAT12_MBR
|
||||||
|
{
|
||||||
|
public FAT12_MBR()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user