namespace Duplicati.Proprietary.DiskImage;
///
/// Represents the type of filesystem on a partition.
///
public enum FileSystemType
{
/// New Technology File System (Windows NT filesystem)
NTFS,
/// File Allocation Table 12 (typically for small removable media)
FAT12,
/// File Allocation Table 16 (for larger volumes)
FAT16,
/// File Allocation Table 32 (modern FAT filesystem)
FAT32,
/// Extensible File Allocation Table (Windows)
ExFAT,
/// Hierarchical File System Plus (macOS legacy)
HFSPlus,
/// Apple File System (modern macOS filesystem)
APFS,
/// Linux Ext2 filesystem
Ext2,
/// Linux Ext3 filesystem
Ext3,
/// Linux Ext4 filesystem
Ext4,
/// Linux XFS filesystem
XFS,
/// Linux Btrfs filesystem
Btrfs,
/// ZFS filesystem
ZFS,
/// Windows ReFS (Resilient File System)
ReFS,
/// Unknown or unsupported filesystem
Unknown
}
///
/// Represents the type of partition table.
///
public enum PartitionTableType
{
/// Master Boot Record (traditional BIOS partition table)
MBR,
/// GUID Partition Table (modern UEFI partition table)
GPT,
/// Apple Partition Map (legacy Mac partition table)
//ApplePartitionMap,
/// Unknown or unsupported partition table
Unknown
}
///
/// Represents the type of a partition.
///
public enum PartitionType
{
/// Primary partition (standard MBR partition)
Primary,
/// Extended partition (container for logical partitions)
Extended,
/// Logical partition (inside an extended partition)
Logical,
/// EFI System Partition (used for boot)
EFI,
/// Recovery partition (Windows recovery)
Recovery,
/// Microsoft Reserved partition (MSR)
MicrosoftReserved,
/// GPT Protective partition (indicates GPT disk)
Protective,
/// Linux filesystem partition
LinuxFilesystem,
/// Linux swap partition
LinuxSwap,
/// Linux LVM partition
LinuxLVM,
/// Linux RAID partition
LinuxRAID,
/// Apple HFS/HFS+ partition
AppleHFS,
/// Apple APFS partition
AppleAPFS,
/// Apple Boot partition
AppleBoot,
/// BIOS Boot partition (used by GRUB on GPT)
BIOSBoot,
/// Unknown partition type
Unknown
}