Refactor: Simplify field names.

This commit is contained in:
2017-07-19 16:37:11 +01:00
parent 711d19fd04
commit 16434f2788
170 changed files with 1816 additions and 1811 deletions

View File

@@ -58,14 +58,14 @@ namespace DiscImageChef.Tests.Partitions
// Linux (ICS)
// TODO: Values are incorrect
new []{
new Partition{ PartitionDescription = null, PartitionLength = 31457280, PartitionName = null, PartitionType = "GEM", PartitionStart = 512, PartitionSectors = 61440,
PartitionSequence = 0, PartitionStartSector = 1 },
new Partition{ PartitionDescription = null, PartitionLength = 41943040, PartitionName = null, PartitionType = "BGM", PartitionStart = 31457792, PartitionSectors = 81920,
PartitionSequence = 1, PartitionStartSector = 61441 },
new Partition{ PartitionDescription = null, PartitionLength = 56402432, PartitionName = null, PartitionType = "LNX", PartitionStart = 73400832, PartitionSectors = 110161,
PartitionSequence = 2, PartitionStartSector = 143361 },
new Partition{ PartitionDescription = null, PartitionLength = 43212800, PartitionName = null, PartitionType = "MAC", PartitionStart = 129803264, PartitionSectors = 84400,
PartitionSequence = 3, PartitionStartSector = 253522 },
new Partition{ Description = null, Size = 31457280, Name = null, Type = "GEM", Offset = 512, Length = 61440,
Sequence = 0, Start = 1 },
new Partition{ Description = null, Size = 41943040, Name = null, Type = "BGM", Offset = 31457792, Length = 81920,
Sequence = 1, Start = 61441 },
new Partition{ Description = null, Size = 56402432, Name = null, Type = "LNX", Offset = 73400832, Length = 110161,
Sequence = 2, Start = 143361 },
new Partition{ Description = null, Size = 43212800, Name = null, Type = "MAC", Offset = 129803264, Length = 84400,
Sequence = 3, Start = 253522 },
},
};
@@ -86,13 +86,13 @@ namespace DiscImageChef.Tests.Partitions
{
// Too chatty
//Assert.AreEqual(wanted[i][j].PartitionDescription, partitions[j].PartitionDescription, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionLength, partitions[j].PartitionLength, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionName, partitions[j].PartitionName, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionType, partitions[j].PartitionType, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionStart, partitions[j].PartitionStart, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionSectors, partitions[j].PartitionSectors, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionSequence, partitions[j].PartitionSequence, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionStartSector, partitions[j].PartitionStartSector, testfiles[i]);
Assert.AreEqual(wanted[i][j].Size, partitions[j].Size, testfiles[i]);
Assert.AreEqual(wanted[i][j].Name, partitions[j].Name, testfiles[i]);
Assert.AreEqual(wanted[i][j].Type, partitions[j].Type, testfiles[i]);
Assert.AreEqual(wanted[i][j].Offset, partitions[j].Offset, testfiles[i]);
Assert.AreEqual(wanted[i][j].Length, partitions[j].Length, testfiles[i]);
Assert.AreEqual(wanted[i][j].Sequence, partitions[j].Sequence, testfiles[i]);
Assert.AreEqual(wanted[i][j].Start, partitions[j].Start, testfiles[i]);
}
}
}

View File

@@ -62,412 +62,412 @@ namespace DiscImageChef.Tests.Partitions
readonly Partition[][] wanted = {
// D2
new []{
new Partition{ PartitionDescription = null, PartitionLength = 1024, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 2,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 42496, PartitionName = "Macintosh", PartitionType = "Apple_Driver43", PartitionStart = 32768, PartitionSectors = 83,
PartitionSequence = 1, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 55808, PartitionName = "Empty", PartitionType = "Apple_Free", PartitionStart = 75264, PartitionSectors = 109,
PartitionSequence = 2, PartitionStartSector = 147 },
new Partition{ PartitionDescription = null, PartitionLength = 26083328, PartitionName = "Volume label", PartitionType = "Apple_HFS", PartitionStart = 131072, PartitionSectors = 50944,
PartitionSequence = 3, PartitionStartSector = 256 },
new Partition{ Description = null, Size = 1024, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 2,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 42496, Name = "Macintosh", Type = "Apple_Driver43", Offset = 32768, Length = 83,
Sequence = 1, Start = 64 },
new Partition{ Description = null, Size = 55808, Name = "Empty", Type = "Apple_Free", Offset = 75264, Length = 109,
Sequence = 2, Start = 147 },
new Partition{ Description = null, Size = 26083328, Name = "Volume label", Type = "Apple_HFS", Offset = 131072, Length = 50944,
Sequence = 3, Start = 256 },
},
// HDT 1.8 Encryption Level 1
new []{
new Partition{ PartitionDescription = null, PartitionLength = 7168, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 14,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 524288, PartitionName = "FWB Disk Driver", PartitionType = "Apple_Driver43", PartitionStart = 32768, PartitionSectors = 1024,
PartitionSequence = 1, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 25657344, PartitionName = "MacOS", PartitionType = "Apple_HFS", PartitionStart = 557056, PartitionSectors = 50112,
PartitionSequence = 2, PartitionStartSector = 1088 },
new Partition{ Description = null, Size = 7168, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 14,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 524288, Name = "FWB Disk Driver", Type = "Apple_Driver43", Offset = 32768, Length = 1024,
Sequence = 1, Start = 64 },
new Partition{ Description = null, Size = 25657344, Name = "MacOS", Type = "Apple_HFS", Offset = 557056, Length = 50112,
Sequence = 2, Start = 1088 },
},
// HDT 1.8 Encryption Level 2
new []{
new Partition{ PartitionDescription = null, PartitionLength = 7168, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 14,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 524288, PartitionName = "FWB Disk Driver", PartitionType = "Apple_Driver43", PartitionStart = 32768, PartitionSectors = 1024,
PartitionSequence = 1, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 25657344, PartitionName = "MacOS", PartitionType = "Apple_HFS", PartitionStart = 557056, PartitionSectors = 50112,
PartitionSequence = 2, PartitionStartSector = 1088 },
new Partition{ Description = null, Size = 7168, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 14,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 524288, Name = "FWB Disk Driver", Type = "Apple_Driver43", Offset = 32768, Length = 1024,
Sequence = 1, Start = 64 },
new Partition{ Description = null, Size = 25657344, Name = "MacOS", Type = "Apple_HFS", Offset = 557056, Length = 50112,
Sequence = 2, Start = 1088 },
},
// HDT 1.8 with password
new []{
new Partition{ PartitionDescription = null, PartitionLength = 7168, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 14,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 524288, PartitionName = "FWB Disk Driver", PartitionType = "Apple_Driver43", PartitionStart = 32768, PartitionSectors = 1024,
PartitionSequence = 1, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 25657344, PartitionName = "MacOS", PartitionType = "Apple_HFS", PartitionStart = 557056, PartitionSectors = 50112,
PartitionSequence = 2, PartitionStartSector = 1088 },
new Partition{ Description = null, Size = 7168, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 14,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 524288, Name = "FWB Disk Driver", Type = "Apple_Driver43", Offset = 32768, Length = 1024,
Sequence = 1, Start = 64 },
new Partition{ Description = null, Size = 25657344, Name = "MacOS", Type = "Apple_HFS", Offset = 557056, Length = 50112,
Sequence = 2, Start = 1088 },
},
// HDT 1.8
new []{
new Partition{ PartitionDescription = null, PartitionLength = 7168, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 14,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 524288, PartitionName = "FWB Disk Driver", PartitionType = "Apple_Driver43", PartitionStart = 32768, PartitionSectors = 1024,
PartitionSequence = 1, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 25657344, PartitionName = "MacOS", PartitionType = "Apple_HFS", PartitionStart = 557056, PartitionSectors = 50112,
PartitionSequence = 2, PartitionStartSector = 1088 },
new Partition{ Description = null, Size = 7168, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 14,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 524288, Name = "FWB Disk Driver", Type = "Apple_Driver43", Offset = 32768, Length = 1024,
Sequence = 1, Start = 64 },
new Partition{ Description = null, Size = 25657344, Name = "MacOS", Type = "Apple_HFS", Offset = 557056, Length = 50112,
Sequence = 2, Start = 1088 },
},
// Linux
new []{
new Partition{ PartitionDescription = null, PartitionLength = 512, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 32768, PartitionSectors = 1,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 819200, PartitionName = "bootstrap", PartitionType = "Apple_Bootstrap", PartitionStart = 33280, PartitionSectors = 1600,
PartitionSequence = 1, PartitionStartSector = 65 },
new Partition{ PartitionDescription = null, PartitionLength = 512, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 852480, PartitionSectors = 1,
PartitionSequence = 2, PartitionStartSector = 1665 },
new Partition{ PartitionDescription = null, PartitionLength = 52428800, PartitionName = "Linux", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 852992, PartitionSectors = 102400,
PartitionSequence = 3, PartitionStartSector = 1666 },
new Partition{ PartitionDescription = null, PartitionLength = 20971520, PartitionName = "ProDOS", PartitionType = "Apple_PRODOS", PartitionStart = 53281792, PartitionSectors = 40960,
PartitionSequence = 4, PartitionStartSector = 104066 },
new Partition{ PartitionDescription = null, PartitionLength = 52428800, PartitionName = "Macintosh", PartitionType = "Apple_HFS", PartitionStart = 74253312, PartitionSectors = 102400,
PartitionSequence = 5, PartitionStartSector = 145026 },
new Partition{ PartitionDescription = null, PartitionLength = 7535616, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 126682112, PartitionSectors = 14718,
PartitionSequence = 6, PartitionStartSector = 247426 },
new Partition{ Description = null, Size = 512, Name = "Extra", Type = "Apple_Free", Offset = 32768, Length = 1,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 819200, Name = "bootstrap", Type = "Apple_Bootstrap", Offset = 33280, Length = 1600,
Sequence = 1, Start = 65 },
new Partition{ Description = null, Size = 512, Name = "Extra", Type = "Apple_Free", Offset = 852480, Length = 1,
Sequence = 2, Start = 1665 },
new Partition{ Description = null, Size = 52428800, Name = "Linux", Type = "Apple_UNIX_SVR2", Offset = 852992, Length = 102400,
Sequence = 3, Start = 1666 },
new Partition{ Description = null, Size = 20971520, Name = "ProDOS", Type = "Apple_PRODOS", Offset = 53281792, Length = 40960,
Sequence = 4, Start = 104066 },
new Partition{ Description = null, Size = 52428800, Name = "Macintosh", Type = "Apple_HFS", Offset = 74253312, Length = 102400,
Sequence = 5, Start = 145026 },
new Partition{ Description = null, Size = 7535616, Name = "Extra", Type = "Apple_Free", Offset = 126682112, Length = 14718,
Sequence = 6, Start = 247426 },
},
// Mac OS 1.1
new []{
new Partition{ PartitionDescription = null, PartitionLength = 5120, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 2048, PartitionSectors = 10,
PartitionSequence = 0, PartitionStartSector = 4 },
new Partition{ PartitionDescription = null, PartitionLength = 21403648, PartitionName = "Macintosh", PartitionType = "Apple_HFS", PartitionStart = 8192, PartitionSectors = 41804,
PartitionSequence = 1, PartitionStartSector = 16 },
new Partition{ Description = null, Size = 5120, Name = null, Type = "Apple_Driver", Offset = 2048, Length = 10,
Sequence = 0, Start = 4 },
new Partition{ Description = null, Size = 21403648, Name = "Macintosh", Type = "Apple_HFS", Offset = 8192, Length = 41804,
Sequence = 1, Start = 16 },
},
// Mac OS 2.0
new []{
new Partition{ PartitionDescription = null, PartitionLength = 5120, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 2048, PartitionSectors = 10,
PartitionSequence = 0, PartitionStartSector = 4 },
new Partition{ PartitionDescription = null, PartitionLength = 19950080, PartitionName = "Macintosh", PartitionType = "Apple_HFS", PartitionStart = 8192, PartitionSectors = 38965,
PartitionSequence = 1, PartitionStartSector = 16 },
new Partition{ Description = null, Size = 5120, Name = null, Type = "Apple_Driver", Offset = 2048, Length = 10,
Sequence = 0, Start = 4 },
new Partition{ Description = null, Size = 19950080, Name = "Macintosh", Type = "Apple_HFS", Offset = 8192, Length = 38965,
Sequence = 1, Start = 16 },
},
// Mac OS 4.2
new []{
new Partition{ PartitionDescription = null, PartitionLength = 5632, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 2048, PartitionSectors = 11,
PartitionSequence = 0, PartitionStartSector = 4 },
new Partition{ PartitionDescription = null, PartitionLength = 19950080, PartitionName = "Macintosh", PartitionType = "Apple_HFS", PartitionStart = 8192, PartitionSectors = 38965,
PartitionSequence = 1, PartitionStartSector = 16 },
new Partition{ Description = null, Size = 5632, Name = null, Type = "Apple_Driver", Offset = 2048, Length = 11,
Sequence = 0, Start = 4 },
new Partition{ Description = null, Size = 19950080, Name = "Macintosh", Type = "Apple_HFS", Offset = 8192, Length = 38965,
Sequence = 1, Start = 16 },
},
// Mac OS 4.3
new []{
new Partition{ PartitionDescription = null, PartitionLength = 5632, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 2048, PartitionSectors = 11,
PartitionSequence = 0, PartitionStartSector = 4 },
new Partition{ PartitionDescription = null, PartitionLength = 19950080, PartitionName = "Macintosh", PartitionType = "Apple_HFS", PartitionStart = 8192, PartitionSectors = 38965,
PartitionSequence = 1, PartitionStartSector = 16 },
new Partition{ Description = null, Size = 5632, Name = null, Type = "Apple_Driver", Offset = 2048, Length = 11,
Sequence = 0, Start = 4 },
new Partition{ Description = null, Size = 19950080, Name = "Macintosh", Type = "Apple_HFS", Offset = 8192, Length = 38965,
Sequence = 1, Start = 16 },
},
// Mac OS 6.0.2
new []{
new Partition{ PartitionDescription = null, PartitionLength = 5120, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 10,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 16384, PartitionName = "Macintosh", PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 32,
PartitionSequence = 1, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 3203072, PartitionName = "MacOS", PartitionType = "Apple_HFS", PartitionStart = 49152, PartitionSectors = 6256,
PartitionSequence = 2, PartitionStartSector = 96 },
new Partition{ PartitionDescription = null, PartitionLength = 524288, PartitionName = "Scratch", PartitionType = "Apple_Scratch", PartitionStart = 3252224, PartitionSectors = 1024,
PartitionSequence = 3, PartitionStartSector = 6352 },
new Partition{ PartitionDescription = null, PartitionLength = 1048576, PartitionName = "Eschatology 1", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 3776512, PartitionSectors = 2048,
PartitionSequence = 4, PartitionStartSector = 7376 },
new Partition{ PartitionDescription = null, PartitionLength = 2191360, PartitionName = "A/UX Root", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 4825088, PartitionSectors = 4280,
PartitionSequence = 5, PartitionStartSector = 9424 },
new Partition{ PartitionDescription = null, PartitionLength = 1217024, PartitionName = "Swap", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 7016448, PartitionSectors = 2377,
PartitionSequence = 6, PartitionStartSector = 13704 },
new Partition{ PartitionDescription = null, PartitionLength = 1572864, PartitionName = "Eschatology 2", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 8233472, PartitionSectors = 3072,
PartitionSequence = 7, PartitionStartSector = 16081 },
new Partition{ PartitionDescription = null, PartitionLength = 1310720, PartitionName = "Root file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 9806336, PartitionSectors = 2560,
PartitionSequence = 8, PartitionStartSector = 19153 },
new Partition{ PartitionDescription = null, PartitionLength = 2550272, PartitionName = "Usr file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 11117056, PartitionSectors = 4981,
PartitionSequence = 9, PartitionStartSector = 21713 },
new Partition{ PartitionDescription = null, PartitionLength = 2048000, PartitionName = "Random A/UX fs", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 13667328, PartitionSectors = 4000,
PartitionSequence = 10, PartitionStartSector = 26694 },
new Partition{ PartitionDescription = null, PartitionLength = 1296384, PartitionName = "Random A/UX fs", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 15715328, PartitionSectors = 2532,
PartitionSequence = 11, PartitionStartSector = 30694 },
new Partition{ PartitionDescription = null, PartitionLength = 1364992, PartitionName = "Usr file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 17011712, PartitionSectors = 2666,
PartitionSequence = 12, PartitionStartSector = 33226 },
new Partition{ PartitionDescription = null, PartitionLength = 3986432, PartitionName = "Usr file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 18376704, PartitionSectors = 7786,
PartitionSequence = 13, PartitionStartSector = 35892 },
new Partition{ PartitionDescription = null, PartitionLength = 5714944, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 22363136, PartitionSectors = 11162,
PartitionSequence = 14, PartitionStartSector = 43678 },
new Partition{ Description = null, Size = 5120, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 10,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 16384, Name = "Macintosh", Type = "Apple_Driver", Offset = 32768, Length = 32,
Sequence = 1, Start = 64 },
new Partition{ Description = null, Size = 3203072, Name = "MacOS", Type = "Apple_HFS", Offset = 49152, Length = 6256,
Sequence = 2, Start = 96 },
new Partition{ Description = null, Size = 524288, Name = "Scratch", Type = "Apple_Scratch", Offset = 3252224, Length = 1024,
Sequence = 3, Start = 6352 },
new Partition{ Description = null, Size = 1048576, Name = "Eschatology 1", Type = "Apple_UNIX_SVR2", Offset = 3776512, Length = 2048,
Sequence = 4, Start = 7376 },
new Partition{ Description = null, Size = 2191360, Name = "A/UX Root", Type = "Apple_UNIX_SVR2", Offset = 4825088, Length = 4280,
Sequence = 5, Start = 9424 },
new Partition{ Description = null, Size = 1217024, Name = "Swap", Type = "Apple_UNIX_SVR2", Offset = 7016448, Length = 2377,
Sequence = 6, Start = 13704 },
new Partition{ Description = null, Size = 1572864, Name = "Eschatology 2", Type = "Apple_UNIX_SVR2", Offset = 8233472, Length = 3072,
Sequence = 7, Start = 16081 },
new Partition{ Description = null, Size = 1310720, Name = "Root file system", Type = "Apple_UNIX_SVR2", Offset = 9806336, Length = 2560,
Sequence = 8, Start = 19153 },
new Partition{ Description = null, Size = 2550272, Name = "Usr file system", Type = "Apple_UNIX_SVR2", Offset = 11117056, Length = 4981,
Sequence = 9, Start = 21713 },
new Partition{ Description = null, Size = 2048000, Name = "Random A/UX fs", Type = "Apple_UNIX_SVR2", Offset = 13667328, Length = 4000,
Sequence = 10, Start = 26694 },
new Partition{ Description = null, Size = 1296384, Name = "Random A/UX fs", Type = "Apple_UNIX_SVR2", Offset = 15715328, Length = 2532,
Sequence = 11, Start = 30694 },
new Partition{ Description = null, Size = 1364992, Name = "Usr file system", Type = "Apple_UNIX_SVR2", Offset = 17011712, Length = 2666,
Sequence = 12, Start = 33226 },
new Partition{ Description = null, Size = 3986432, Name = "Usr file system", Type = "Apple_UNIX_SVR2", Offset = 18376704, Length = 7786,
Sequence = 13, Start = 35892 },
new Partition{ Description = null, Size = 5714944, Name = "Extra", Type = "Apple_Free", Offset = 22363136, Length = 11162,
Sequence = 14, Start = 43678 },
},
// Mac OS 6.0.3
new []{
new Partition{ PartitionDescription = null, PartitionLength = 5120, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 10,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 16384, PartitionName = "Macintosh", PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 32,
PartitionSequence = 1, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 5948928, PartitionName = "MacOS", PartitionType = "Apple_HFS", PartitionStart = 49152, PartitionSectors = 11619,
PartitionSequence = 2, PartitionStartSector = 96 },
new Partition{ PartitionDescription = null, PartitionLength = 1029632, PartitionName = "Scratch", PartitionType = "Apple_Scratch", PartitionStart = 5998080, PartitionSectors = 2011,
PartitionSequence = 3, PartitionStartSector = 11715 },
new Partition{ PartitionDescription = null, PartitionLength = 2455552, PartitionName = "Eschatology 1", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 7027712, PartitionSectors = 4796,
PartitionSequence = 4, PartitionStartSector = 13726 },
new Partition{ PartitionDescription = null, PartitionLength = 3932160, PartitionName = "A/UX Root", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 9483264, PartitionSectors = 7680,
PartitionSequence = 5, PartitionStartSector = 18522 },
new Partition{ PartitionDescription = null, PartitionLength = 4194304, PartitionName = "Swap", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 13415424, PartitionSectors = 8192,
PartitionSequence = 6, PartitionStartSector = 26202 },
new Partition{ PartitionDescription = null, PartitionLength = 587776, PartitionName = "Eschatology 2", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 17609728, PartitionSectors = 1148,
PartitionSequence = 7, PartitionStartSector = 34394 },
new Partition{ PartitionDescription = null, PartitionLength = 6537216, PartitionName = "Root file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 18197504, PartitionSectors = 12768,
PartitionSequence = 8, PartitionStartSector = 35542 },
new Partition{ PartitionDescription = null, PartitionLength = 1766400, PartitionName = "Usr file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 24734720, PartitionSectors = 3450,
PartitionSequence = 9, PartitionStartSector = 48310 },
new Partition{ PartitionDescription = null, PartitionLength = 1558528, PartitionName = "Random A/UX fs", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 26519552, PartitionSectors = 3044,
PartitionSequence = 10, PartitionStartSector = 51796 },
new Partition{ PartitionDescription = null, PartitionLength = 18432, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 26501120, PartitionSectors = 36,
PartitionSequence = 11, PartitionStartSector = 51760 },
new Partition{ Description = null, Size = 5120, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 10,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 16384, Name = "Macintosh", Type = "Apple_Driver", Offset = 32768, Length = 32,
Sequence = 1, Start = 64 },
new Partition{ Description = null, Size = 5948928, Name = "MacOS", Type = "Apple_HFS", Offset = 49152, Length = 11619,
Sequence = 2, Start = 96 },
new Partition{ Description = null, Size = 1029632, Name = "Scratch", Type = "Apple_Scratch", Offset = 5998080, Length = 2011,
Sequence = 3, Start = 11715 },
new Partition{ Description = null, Size = 2455552, Name = "Eschatology 1", Type = "Apple_UNIX_SVR2", Offset = 7027712, Length = 4796,
Sequence = 4, Start = 13726 },
new Partition{ Description = null, Size = 3932160, Name = "A/UX Root", Type = "Apple_UNIX_SVR2", Offset = 9483264, Length = 7680,
Sequence = 5, Start = 18522 },
new Partition{ Description = null, Size = 4194304, Name = "Swap", Type = "Apple_UNIX_SVR2", Offset = 13415424, Length = 8192,
Sequence = 6, Start = 26202 },
new Partition{ Description = null, Size = 587776, Name = "Eschatology 2", Type = "Apple_UNIX_SVR2", Offset = 17609728, Length = 1148,
Sequence = 7, Start = 34394 },
new Partition{ Description = null, Size = 6537216, Name = "Root file system", Type = "Apple_UNIX_SVR2", Offset = 18197504, Length = 12768,
Sequence = 8, Start = 35542 },
new Partition{ Description = null, Size = 1766400, Name = "Usr file system", Type = "Apple_UNIX_SVR2", Offset = 24734720, Length = 3450,
Sequence = 9, Start = 48310 },
new Partition{ Description = null, Size = 1558528, Name = "Random A/UX fs", Type = "Apple_UNIX_SVR2", Offset = 26519552, Length = 3044,
Sequence = 10, Start = 51796 },
new Partition{ Description = null, Size = 18432, Name = "Extra", Type = "Apple_Free", Offset = 26501120, Length = 36,
Sequence = 11, Start = 51760 },
},
// Mac OS 6.0.4
new []{
new Partition{ PartitionDescription = null, PartitionLength = 5120, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 10,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 16384, PartitionName = "Macintosh", PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 32,
PartitionSequence = 1, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 3932160, PartitionName = "MacOS", PartitionType = "Apple_HFS", PartitionStart = 49152, PartitionSectors = 7680,
PartitionSequence = 2, PartitionStartSector = 96 },
new Partition{ PartitionDescription = null, PartitionLength = 3197440, PartitionName = "Scratch", PartitionType = "Apple_Scratch", PartitionStart = 3981312, PartitionSectors = 6245,
PartitionSequence = 3, PartitionStartSector = 7776 },
new Partition{ PartitionDescription = null, PartitionLength = 3197440, PartitionName = "Eschatology 1", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 7178752, PartitionSectors = 6245,
PartitionSequence = 4, PartitionStartSector = 14021 },
new Partition{ PartitionDescription = null, PartitionLength = 2626560, PartitionName = "A/UX Root", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 10376192, PartitionSectors = 5130,
PartitionSequence = 5, PartitionStartSector = 20266 },
new Partition{ PartitionDescription = null, PartitionLength = 1370112, PartitionName = "Swap", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 13002752, PartitionSectors = 2676,
PartitionSequence = 6, PartitionStartSector = 25396 },
new Partition{ PartitionDescription = null, PartitionLength = 2944512, PartitionName = "Eschatology 2", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 14372864, PartitionSectors = 5751,
PartitionSequence = 7, PartitionStartSector = 28072 },
new Partition{ PartitionDescription = null, PartitionLength = 2776576, PartitionName = "Root file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 17317376, PartitionSectors = 5423,
PartitionSequence = 8, PartitionStartSector = 33823 },
new Partition{ PartitionDescription = null, PartitionLength = 2892800, PartitionName = "Usr file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 20093952, PartitionSectors = 5650,
PartitionSequence = 9, PartitionStartSector = 39246 },
new Partition{ PartitionDescription = null, PartitionLength = 3433472, PartitionName = "Random A/UX fs", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 22986752, PartitionSectors = 6706,
PartitionSequence = 10, PartitionStartSector = 44896 },
new Partition{ PartitionDescription = null, PartitionLength = 1657856, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 26420224, PartitionSectors = 3238,
PartitionSequence = 11, PartitionStartSector = 51602 },
new Partition{ Description = null, Size = 5120, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 10,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 16384, Name = "Macintosh", Type = "Apple_Driver", Offset = 32768, Length = 32,
Sequence = 1, Start = 64 },
new Partition{ Description = null, Size = 3932160, Name = "MacOS", Type = "Apple_HFS", Offset = 49152, Length = 7680,
Sequence = 2, Start = 96 },
new Partition{ Description = null, Size = 3197440, Name = "Scratch", Type = "Apple_Scratch", Offset = 3981312, Length = 6245,
Sequence = 3, Start = 7776 },
new Partition{ Description = null, Size = 3197440, Name = "Eschatology 1", Type = "Apple_UNIX_SVR2", Offset = 7178752, Length = 6245,
Sequence = 4, Start = 14021 },
new Partition{ Description = null, Size = 2626560, Name = "A/UX Root", Type = "Apple_UNIX_SVR2", Offset = 10376192, Length = 5130,
Sequence = 5, Start = 20266 },
new Partition{ Description = null, Size = 1370112, Name = "Swap", Type = "Apple_UNIX_SVR2", Offset = 13002752, Length = 2676,
Sequence = 6, Start = 25396 },
new Partition{ Description = null, Size = 2944512, Name = "Eschatology 2", Type = "Apple_UNIX_SVR2", Offset = 14372864, Length = 5751,
Sequence = 7, Start = 28072 },
new Partition{ Description = null, Size = 2776576, Name = "Root file system", Type = "Apple_UNIX_SVR2", Offset = 17317376, Length = 5423,
Sequence = 8, Start = 33823 },
new Partition{ Description = null, Size = 2892800, Name = "Usr file system", Type = "Apple_UNIX_SVR2", Offset = 20093952, Length = 5650,
Sequence = 9, Start = 39246 },
new Partition{ Description = null, Size = 3433472, Name = "Random A/UX fs", Type = "Apple_UNIX_SVR2", Offset = 22986752, Length = 6706,
Sequence = 10, Start = 44896 },
new Partition{ Description = null, Size = 1657856, Name = "Extra", Type = "Apple_Free", Offset = 26420224, Length = 3238,
Sequence = 11, Start = 51602 },
},
// Mac OS 6.0.5
new []{
new Partition{ PartitionDescription = null, PartitionLength = 5120, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 10,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 16384, PartitionName = "Macintosh", PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 32,
PartitionSequence = 1, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 2097152, PartitionName = "MacOS", PartitionType = "Apple_HFS", PartitionStart = 49152, PartitionSectors = 4096,
PartitionSequence = 2, PartitionStartSector = 96 },
new Partition{ PartitionDescription = null, PartitionLength = 342528, PartitionName = "Scratch", PartitionType = "Apple_Scratch", PartitionStart = 2146304, PartitionSectors = 669,
PartitionSequence = 3, PartitionStartSector = 4192 },
new Partition{ PartitionDescription = null, PartitionLength = 1417216, PartitionName = "Eschatology 1", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 2488832, PartitionSectors = 2768,
PartitionSequence = 4, PartitionStartSector = 4861 },
new Partition{ PartitionDescription = null, PartitionLength = 1830912, PartitionName = "A/UX Root", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 3906048, PartitionSectors = 3576,
PartitionSequence = 5, PartitionStartSector = 7629 },
new Partition{ PartitionDescription = null, PartitionLength = 1448960, PartitionName = "Swap", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 5736960, PartitionSectors = 2830,
PartitionSequence = 6, PartitionStartSector = 11205 },
new Partition{ PartitionDescription = null, PartitionLength = 2687488, PartitionName = "Root file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 7185920, PartitionSectors = 5249,
PartitionSequence = 7, PartitionStartSector = 14035 },
new Partition{ PartitionDescription = null, PartitionLength = 2565632, PartitionName = "Usr file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 9873408, PartitionSectors = 5011,
PartitionSequence = 8, PartitionStartSector = 19284 },
new Partition{ PartitionDescription = null, PartitionLength = 1954816, PartitionName = "Unreserved 1", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 12439040, PartitionSectors = 3818,
PartitionSequence = 9, PartitionStartSector = 24295 },
new Partition{ PartitionDescription = null, PartitionLength = 3543040, PartitionName = "Unreserved 2", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 14393856, PartitionSectors = 6920,
PartitionSequence = 10, PartitionStartSector = 28113 },
new Partition{ PartitionDescription = null, PartitionLength = 2565632, PartitionName = "Unreserved 3", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 17936896, PartitionSectors = 5011,
PartitionSequence = 11, PartitionStartSector = 35033 },
new Partition{ PartitionDescription = null, PartitionLength = 2932224, PartitionName = "Unreserved 4", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 20502528, PartitionSectors = 5727,
PartitionSequence = 12, PartitionStartSector = 40044 },
new Partition{ PartitionDescription = null, PartitionLength = 1221632, PartitionName = "Random A/UX fs", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 23434752, PartitionSectors = 2386,
PartitionSequence = 13, PartitionStartSector = 45771 },
new Partition{ PartitionDescription = null, PartitionLength = 3421696, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 24656384, PartitionSectors = 6683,
PartitionSequence = 14, PartitionStartSector = 48157 },
new Partition{ Description = null, Size = 5120, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 10,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 16384, Name = "Macintosh", Type = "Apple_Driver", Offset = 32768, Length = 32,
Sequence = 1, Start = 64 },
new Partition{ Description = null, Size = 2097152, Name = "MacOS", Type = "Apple_HFS", Offset = 49152, Length = 4096,
Sequence = 2, Start = 96 },
new Partition{ Description = null, Size = 342528, Name = "Scratch", Type = "Apple_Scratch", Offset = 2146304, Length = 669,
Sequence = 3, Start = 4192 },
new Partition{ Description = null, Size = 1417216, Name = "Eschatology 1", Type = "Apple_UNIX_SVR2", Offset = 2488832, Length = 2768,
Sequence = 4, Start = 4861 },
new Partition{ Description = null, Size = 1830912, Name = "A/UX Root", Type = "Apple_UNIX_SVR2", Offset = 3906048, Length = 3576,
Sequence = 5, Start = 7629 },
new Partition{ Description = null, Size = 1448960, Name = "Swap", Type = "Apple_UNIX_SVR2", Offset = 5736960, Length = 2830,
Sequence = 6, Start = 11205 },
new Partition{ Description = null, Size = 2687488, Name = "Root file system", Type = "Apple_UNIX_SVR2", Offset = 7185920, Length = 5249,
Sequence = 7, Start = 14035 },
new Partition{ Description = null, Size = 2565632, Name = "Usr file system", Type = "Apple_UNIX_SVR2", Offset = 9873408, Length = 5011,
Sequence = 8, Start = 19284 },
new Partition{ Description = null, Size = 1954816, Name = "Unreserved 1", Type = "Apple_UNIX_SVR2", Offset = 12439040, Length = 3818,
Sequence = 9, Start = 24295 },
new Partition{ Description = null, Size = 3543040, Name = "Unreserved 2", Type = "Apple_UNIX_SVR2", Offset = 14393856, Length = 6920,
Sequence = 10, Start = 28113 },
new Partition{ Description = null, Size = 2565632, Name = "Unreserved 3", Type = "Apple_UNIX_SVR2", Offset = 17936896, Length = 5011,
Sequence = 11, Start = 35033 },
new Partition{ Description = null, Size = 2932224, Name = "Unreserved 4", Type = "Apple_UNIX_SVR2", Offset = 20502528, Length = 5727,
Sequence = 12, Start = 40044 },
new Partition{ Description = null, Size = 1221632, Name = "Random A/UX fs", Type = "Apple_UNIX_SVR2", Offset = 23434752, Length = 2386,
Sequence = 13, Start = 45771 },
new Partition{ Description = null, Size = 3421696, Name = "Extra", Type = "Apple_Free", Offset = 24656384, Length = 6683,
Sequence = 14, Start = 48157 },
},
// Mac OS 6.0.7
new []{
new Partition{ PartitionDescription = null, PartitionLength = 5120, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 10,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 14013952, PartitionName = "MacOS", PartitionType = "Apple_HFS", PartitionStart = 49152, PartitionSectors = 27371,
PartitionSequence = 1, PartitionStartSector = 96 },
new Partition{ PartitionDescription = null, PartitionLength = 16384, PartitionName = "Macintosh", PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 32,
PartitionSequence = 2, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 1492992, PartitionName = "Eschatology 1", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 14063104, PartitionSectors = 2916,
PartitionSequence = 3, PartitionStartSector = 27467 },
new Partition{ PartitionDescription = null, PartitionLength = 919040, PartitionName = "A/UX Root", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 15556096, PartitionSectors = 1795,
PartitionSequence = 4, PartitionStartSector = 30383 },
new Partition{ PartitionDescription = null, PartitionLength = 1302016, PartitionName = "Swap", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 16475136, PartitionSectors = 2543,
PartitionSequence = 5, PartitionStartSector = 32178 },
new Partition{ PartitionDescription = null, PartitionLength = 1796608, PartitionName = "Root file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 17777152, PartitionSectors = 3509,
PartitionSequence = 6, PartitionStartSector = 34721 },
new Partition{ PartitionDescription = null, PartitionLength = 1943552, PartitionName = "Usr file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 19573760, PartitionSectors = 3796,
PartitionSequence = 7, PartitionStartSector = 38230 },
new Partition{ PartitionDescription = null, PartitionLength = 2186752, PartitionName = "Random A/UX fs", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 21517312, PartitionSectors = 4271,
PartitionSequence = 8, PartitionStartSector = 42026 },
new Partition{ PartitionDescription = null, PartitionLength = 524288, PartitionName = "Unreserved 1", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 23704064, PartitionSectors = 1024,
PartitionSequence = 9, PartitionStartSector = 46297 },
new Partition{ PartitionDescription = null, PartitionLength = 655360, PartitionName = "Unreserved 2", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 24228352, PartitionSectors = 1280,
PartitionSequence = 10, PartitionStartSector = 47321 },
new Partition{ PartitionDescription = null, PartitionLength = 798208, PartitionName = "Unreserved 3", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 24883712, PartitionSectors = 1559,
PartitionSequence = 11, PartitionStartSector = 48601 },
new Partition{ PartitionDescription = null, PartitionLength = 2252800, PartitionName = "Unreserved 4", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 25825280, PartitionSectors = 4400,
PartitionSequence = 12, PartitionStartSector = 50440 },
new Partition{ PartitionDescription = null, PartitionLength = 143360, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 25681920, PartitionSectors = 280,
PartitionSequence = 13, PartitionStartSector = 50160 },
new Partition{ Description = null, Size = 5120, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 10,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 14013952, Name = "MacOS", Type = "Apple_HFS", Offset = 49152, Length = 27371,
Sequence = 1, Start = 96 },
new Partition{ Description = null, Size = 16384, Name = "Macintosh", Type = "Apple_Driver", Offset = 32768, Length = 32,
Sequence = 2, Start = 64 },
new Partition{ Description = null, Size = 1492992, Name = "Eschatology 1", Type = "Apple_UNIX_SVR2", Offset = 14063104, Length = 2916,
Sequence = 3, Start = 27467 },
new Partition{ Description = null, Size = 919040, Name = "A/UX Root", Type = "Apple_UNIX_SVR2", Offset = 15556096, Length = 1795,
Sequence = 4, Start = 30383 },
new Partition{ Description = null, Size = 1302016, Name = "Swap", Type = "Apple_UNIX_SVR2", Offset = 16475136, Length = 2543,
Sequence = 5, Start = 32178 },
new Partition{ Description = null, Size = 1796608, Name = "Root file system", Type = "Apple_UNIX_SVR2", Offset = 17777152, Length = 3509,
Sequence = 6, Start = 34721 },
new Partition{ Description = null, Size = 1943552, Name = "Usr file system", Type = "Apple_UNIX_SVR2", Offset = 19573760, Length = 3796,
Sequence = 7, Start = 38230 },
new Partition{ Description = null, Size = 2186752, Name = "Random A/UX fs", Type = "Apple_UNIX_SVR2", Offset = 21517312, Length = 4271,
Sequence = 8, Start = 42026 },
new Partition{ Description = null, Size = 524288, Name = "Unreserved 1", Type = "Apple_UNIX_SVR2", Offset = 23704064, Length = 1024,
Sequence = 9, Start = 46297 },
new Partition{ Description = null, Size = 655360, Name = "Unreserved 2", Type = "Apple_UNIX_SVR2", Offset = 24228352, Length = 1280,
Sequence = 10, Start = 47321 },
new Partition{ Description = null, Size = 798208, Name = "Unreserved 3", Type = "Apple_UNIX_SVR2", Offset = 24883712, Length = 1559,
Sequence = 11, Start = 48601 },
new Partition{ Description = null, Size = 2252800, Name = "Unreserved 4", Type = "Apple_UNIX_SVR2", Offset = 25825280, Length = 4400,
Sequence = 12, Start = 50440 },
new Partition{ Description = null, Size = 143360, Name = "Extra", Type = "Apple_Free", Offset = 25681920, Length = 280,
Sequence = 13, Start = 50160 },
},
// Mac OS 6.0.8
new []{
new Partition{ PartitionDescription = null, PartitionLength = 5120, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 10,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 16384, PartitionName = "Macintosh", PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 32,
PartitionSequence = 1, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 4575744, PartitionName = "MacOS", PartitionType = "Apple_HFS", PartitionStart = 49152, PartitionSectors = 8937,
PartitionSequence = 2, PartitionStartSector = 96 },
new Partition{ PartitionDescription = null, PartitionLength = 1143808, PartitionName = "Scratch", PartitionType = "Apple_Scratch", PartitionStart = 4624896, PartitionSectors = 2234,
PartitionSequence = 3, PartitionStartSector = 9033 },
new Partition{ PartitionDescription = null, PartitionLength = 3020800, PartitionName = "Eschatology 1", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 5768704, PartitionSectors = 5900,
PartitionSequence = 4, PartitionStartSector = 11267 },
new Partition{ PartitionDescription = null, PartitionLength = 2091520, PartitionName = "A/UX Root", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 25986560, PartitionSectors = 4085,
PartitionSequence = 5, PartitionStartSector = 50755 },
new Partition{ PartitionDescription = null, PartitionLength = 3693056, PartitionName = "Swap", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 22293504, PartitionSectors = 7213,
PartitionSequence = 6, PartitionStartSector = 43542 },
new Partition{ PartitionDescription = null, PartitionLength = 2308096, PartitionName = "Root file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 19985408, PartitionSectors = 4508,
PartitionSequence = 7, PartitionStartSector = 39034 },
new Partition{ PartitionDescription = null, PartitionLength = 2885120, PartitionName = "Usr file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 17100288, PartitionSectors = 5635,
PartitionSequence = 8, PartitionStartSector = 33399 },
new Partition{ PartitionDescription = null, PartitionLength = 1615872, PartitionName = "Unreserved 1", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 8789504, PartitionSectors = 3156,
PartitionSequence = 9, PartitionStartSector = 17167 },
new Partition{ PartitionDescription = null, PartitionLength = 1615872, PartitionName = "Unreserved 2", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 15484416, PartitionSectors = 3156,
PartitionSequence = 10, PartitionStartSector = 30243 },
new Partition{ PartitionDescription = null, PartitionLength = 1384960, PartitionName = "Unreserved 3", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 10405376, PartitionSectors = 2705,
PartitionSequence = 11, PartitionStartSector = 20323 },
new Partition{ PartitionDescription = null, PartitionLength = 952832, PartitionName = "Unreserved 4", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 11790336, PartitionSectors = 1861,
PartitionSequence = 12, PartitionStartSector = 23028 },
new Partition{ PartitionDescription = null, PartitionLength = 1495040, PartitionName = "Random A/UX fs", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 13989376, PartitionSectors = 2920,
PartitionSequence = 13, PartitionStartSector = 27323 },
new Partition{ PartitionDescription = null, PartitionLength = 1246208, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 12743168, PartitionSectors = 2434,
PartitionSequence = 14, PartitionStartSector = 24889 },
new Partition{ Description = null, Size = 5120, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 10,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 16384, Name = "Macintosh", Type = "Apple_Driver", Offset = 32768, Length = 32,
Sequence = 1, Start = 64 },
new Partition{ Description = null, Size = 4575744, Name = "MacOS", Type = "Apple_HFS", Offset = 49152, Length = 8937,
Sequence = 2, Start = 96 },
new Partition{ Description = null, Size = 1143808, Name = "Scratch", Type = "Apple_Scratch", Offset = 4624896, Length = 2234,
Sequence = 3, Start = 9033 },
new Partition{ Description = null, Size = 3020800, Name = "Eschatology 1", Type = "Apple_UNIX_SVR2", Offset = 5768704, Length = 5900,
Sequence = 4, Start = 11267 },
new Partition{ Description = null, Size = 2091520, Name = "A/UX Root", Type = "Apple_UNIX_SVR2", Offset = 25986560, Length = 4085,
Sequence = 5, Start = 50755 },
new Partition{ Description = null, Size = 3693056, Name = "Swap", Type = "Apple_UNIX_SVR2", Offset = 22293504, Length = 7213,
Sequence = 6, Start = 43542 },
new Partition{ Description = null, Size = 2308096, Name = "Root file system", Type = "Apple_UNIX_SVR2", Offset = 19985408, Length = 4508,
Sequence = 7, Start = 39034 },
new Partition{ Description = null, Size = 2885120, Name = "Usr file system", Type = "Apple_UNIX_SVR2", Offset = 17100288, Length = 5635,
Sequence = 8, Start = 33399 },
new Partition{ Description = null, Size = 1615872, Name = "Unreserved 1", Type = "Apple_UNIX_SVR2", Offset = 8789504, Length = 3156,
Sequence = 9, Start = 17167 },
new Partition{ Description = null, Size = 1615872, Name = "Unreserved 2", Type = "Apple_UNIX_SVR2", Offset = 15484416, Length = 3156,
Sequence = 10, Start = 30243 },
new Partition{ Description = null, Size = 1384960, Name = "Unreserved 3", Type = "Apple_UNIX_SVR2", Offset = 10405376, Length = 2705,
Sequence = 11, Start = 20323 },
new Partition{ Description = null, Size = 952832, Name = "Unreserved 4", Type = "Apple_UNIX_SVR2", Offset = 11790336, Length = 1861,
Sequence = 12, Start = 23028 },
new Partition{ Description = null, Size = 1495040, Name = "Random A/UX fs", Type = "Apple_UNIX_SVR2", Offset = 13989376, Length = 2920,
Sequence = 13, Start = 27323 },
new Partition{ Description = null, Size = 1246208, Name = "Extra", Type = "Apple_Free", Offset = 12743168, Length = 2434,
Sequence = 14, Start = 24889 },
},
// Mac OS 6.0
new []{
new Partition{ PartitionDescription = null, PartitionLength = 5120, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 10,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 16384, PartitionName = "Macintosh", PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 32,
PartitionSequence = 1, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 2097152, PartitionName = "MacOS", PartitionType = "Apple_HFS", PartitionStart = 49152, PartitionSectors = 4096,
PartitionSequence = 2, PartitionStartSector = 96 },
new Partition{ PartitionDescription = null, PartitionLength = 2097152, PartitionName = "Scratch", PartitionType = "Apple_Scratch", PartitionStart = 2146304, PartitionSectors = 4096,
PartitionSequence = 3, PartitionStartSector = 4192 },
new Partition{ PartitionDescription = null, PartitionLength = 2097152, PartitionName = "Eschatology 1", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 4243456, PartitionSectors = 4096,
PartitionSequence = 4, PartitionStartSector = 8288 },
new Partition{ PartitionDescription = null, PartitionLength = 2097152, PartitionName = "A/UX Root", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 6340608, PartitionSectors = 4096,
PartitionSequence = 5, PartitionStartSector = 12384 },
new Partition{ PartitionDescription = null, PartitionLength = 1048576, PartitionName = "Swap", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 8437760, PartitionSectors = 2048,
PartitionSequence = 6, PartitionStartSector = 16480 },
new Partition{ PartitionDescription = null, PartitionLength = 2097152, PartitionName = "Eschatology 2", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 9486336, PartitionSectors = 4096,
PartitionSequence = 7, PartitionStartSector = 18528 },
new Partition{ PartitionDescription = null, PartitionLength = 2097152, PartitionName = "Root file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 11583488, PartitionSectors = 4096,
PartitionSequence = 8, PartitionStartSector = 22624 },
new Partition{ PartitionDescription = null, PartitionLength = 2310144, PartitionName = "Usr file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 13680640, PartitionSectors = 4512,
PartitionSequence = 9, PartitionStartSector = 26720 },
new Partition{ PartitionDescription = null, PartitionLength = 5416960, PartitionName = "Random A/UX fs", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 15990784, PartitionSectors = 10580,
PartitionSequence = 10, PartitionStartSector = 31232 },
new Partition{ PartitionDescription = null, PartitionLength = 4096, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 21407744, PartitionSectors = 8,
PartitionSequence = 11, PartitionStartSector = 41812 },
new Partition{ Description = null, Size = 5120, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 10,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 16384, Name = "Macintosh", Type = "Apple_Driver", Offset = 32768, Length = 32,
Sequence = 1, Start = 64 },
new Partition{ Description = null, Size = 2097152, Name = "MacOS", Type = "Apple_HFS", Offset = 49152, Length = 4096,
Sequence = 2, Start = 96 },
new Partition{ Description = null, Size = 2097152, Name = "Scratch", Type = "Apple_Scratch", Offset = 2146304, Length = 4096,
Sequence = 3, Start = 4192 },
new Partition{ Description = null, Size = 2097152, Name = "Eschatology 1", Type = "Apple_UNIX_SVR2", Offset = 4243456, Length = 4096,
Sequence = 4, Start = 8288 },
new Partition{ Description = null, Size = 2097152, Name = "A/UX Root", Type = "Apple_UNIX_SVR2", Offset = 6340608, Length = 4096,
Sequence = 5, Start = 12384 },
new Partition{ Description = null, Size = 1048576, Name = "Swap", Type = "Apple_UNIX_SVR2", Offset = 8437760, Length = 2048,
Sequence = 6, Start = 16480 },
new Partition{ Description = null, Size = 2097152, Name = "Eschatology 2", Type = "Apple_UNIX_SVR2", Offset = 9486336, Length = 4096,
Sequence = 7, Start = 18528 },
new Partition{ Description = null, Size = 2097152, Name = "Root file system", Type = "Apple_UNIX_SVR2", Offset = 11583488, Length = 4096,
Sequence = 8, Start = 22624 },
new Partition{ Description = null, Size = 2310144, Name = "Usr file system", Type = "Apple_UNIX_SVR2", Offset = 13680640, Length = 4512,
Sequence = 9, Start = 26720 },
new Partition{ Description = null, Size = 5416960, Name = "Random A/UX fs", Type = "Apple_UNIX_SVR2", Offset = 15990784, Length = 10580,
Sequence = 10, Start = 31232 },
new Partition{ Description = null, Size = 4096, Name = "Extra", Type = "Apple_Free", Offset = 21407744, Length = 8,
Sequence = 11, Start = 41812 },
},
// Mac OS 7.0
new []{
new Partition{ PartitionDescription = null, PartitionLength = 5120, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 10,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 16384, PartitionName = "Macintosh", PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 32,
PartitionSequence = 1, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 5262336, PartitionName = "MacOS", PartitionType = "Apple_HFS", PartitionStart = 15845888, PartitionSectors = 10278,
PartitionSequence = 2, PartitionStartSector = 30949 },
new Partition{ PartitionDescription = null, PartitionLength = 3073024, PartitionName = "Scratch", PartitionType = "Apple_Scratch", PartitionStart = 49152, PartitionSectors = 6002,
PartitionSequence = 3, PartitionStartSector = 96 },
new Partition{ PartitionDescription = null, PartitionLength = 1707520, PartitionName = "Eschatology 1", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 21108224, PartitionSectors = 3335,
PartitionSequence = 4, PartitionStartSector = 41227 },
new Partition{ PartitionDescription = null, PartitionLength = 5262336, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 22815744, PartitionSectors = 10278,
PartitionSequence = 5, PartitionStartSector = 44562 },
new Partition{ PartitionDescription = null, PartitionLength = 2726400, PartitionName = "Root file system", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 3122176, PartitionSectors = 5325,
PartitionSequence = 6, PartitionStartSector = 6098 },
new Partition{ PartitionDescription = null, PartitionLength = 3180544, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 5848576, PartitionSectors = 6212,
PartitionSequence = 7, PartitionStartSector = 11423 },
new Partition{ PartitionDescription = null, PartitionLength = 4203520, PartitionName = "Random A/UX fs", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 9029120, PartitionSectors = 8210,
PartitionSequence = 8, PartitionStartSector = 17635 },
new Partition{ PartitionDescription = null, PartitionLength = 2613248, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 13232640, PartitionSectors = 5104,
PartitionSequence = 9, PartitionStartSector = 25845 },
new Partition{ Description = null, Size = 5120, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 10,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 16384, Name = "Macintosh", Type = "Apple_Driver", Offset = 32768, Length = 32,
Sequence = 1, Start = 64 },
new Partition{ Description = null, Size = 5262336, Name = "MacOS", Type = "Apple_HFS", Offset = 15845888, Length = 10278,
Sequence = 2, Start = 30949 },
new Partition{ Description = null, Size = 3073024, Name = "Scratch", Type = "Apple_Scratch", Offset = 49152, Length = 6002,
Sequence = 3, Start = 96 },
new Partition{ Description = null, Size = 1707520, Name = "Eschatology 1", Type = "Apple_UNIX_SVR2", Offset = 21108224, Length = 3335,
Sequence = 4, Start = 41227 },
new Partition{ Description = null, Size = 5262336, Name = "Extra", Type = "Apple_Free", Offset = 22815744, Length = 10278,
Sequence = 5, Start = 44562 },
new Partition{ Description = null, Size = 2726400, Name = "Root file system", Type = "Apple_UNIX_SVR2", Offset = 3122176, Length = 5325,
Sequence = 6, Start = 6098 },
new Partition{ Description = null, Size = 3180544, Name = "Extra", Type = "Apple_Free", Offset = 5848576, Length = 6212,
Sequence = 7, Start = 11423 },
new Partition{ Description = null, Size = 4203520, Name = "Random A/UX fs", Type = "Apple_UNIX_SVR2", Offset = 9029120, Length = 8210,
Sequence = 8, Start = 17635 },
new Partition{ Description = null, Size = 2613248, Name = "Extra", Type = "Apple_Free", Offset = 13232640, Length = 5104,
Sequence = 9, Start = 25845 },
},
// Mac OS 7.1.1
new []{
new Partition{ PartitionDescription = null, PartitionLength = 8704, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 17,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 16384, PartitionName = "Macintosh", PartitionType = "Apple_Driver43", PartitionStart = 32768, PartitionSectors = 32,
PartitionSequence = 1, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 5148160, PartitionName = "MacOS", PartitionType = "Apple_HFS", PartitionStart = 7294464, PartitionSectors = 10055,
PartitionSequence = 2, PartitionStartSector = 14247 },
new Partition{ PartitionDescription = null, PartitionLength = 2097152, PartitionName = "ProDOS", PartitionType = "Apple_PRODOS", PartitionStart = 5197312, PartitionSectors = 4096,
PartitionSequence = 3, PartitionStartSector = 10151 },
new Partition{ PartitionDescription = null, PartitionLength = 3996672, PartitionName = "A/UX Root", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 24081408, PartitionSectors = 7806,
PartitionSequence = 4, PartitionStartSector = 47034 },
new Partition{ PartitionDescription = null, PartitionLength = 1486848, PartitionName = "Random A/UX fs", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 49152, PartitionSectors = 2904,
PartitionSequence = 5, PartitionStartSector = 96 },
new Partition{ PartitionDescription = null, PartitionLength = 4406784, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 12442624, PartitionSectors = 8607,
PartitionSequence = 6, PartitionStartSector = 24302 },
new Partition{ PartitionDescription = null, PartitionLength = 2485760, PartitionName = "Random A/UX fs", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 16849408, PartitionSectors = 4855,
PartitionSequence = 7, PartitionStartSector = 32909 },
new Partition{ PartitionDescription = null, PartitionLength = 4746240, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 19335168, PartitionSectors = 9270,
PartitionSequence = 8, PartitionStartSector = 37764 },
new Partition{ PartitionDescription = null, PartitionLength = 2097152, PartitionName = "ProDOS", PartitionType = "Apple_PRODOS", PartitionStart = 1536000, PartitionSectors = 4096,
PartitionSequence = 9, PartitionStartSector = 3000 },
new Partition{ PartitionDescription = null, PartitionLength = 1564160, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 3633152, PartitionSectors = 3055,
PartitionSequence = 10, PartitionStartSector = 7096 },
new Partition{ Description = null, Size = 8704, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 17,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 16384, Name = "Macintosh", Type = "Apple_Driver43", Offset = 32768, Length = 32,
Sequence = 1, Start = 64 },
new Partition{ Description = null, Size = 5148160, Name = "MacOS", Type = "Apple_HFS", Offset = 7294464, Length = 10055,
Sequence = 2, Start = 14247 },
new Partition{ Description = null, Size = 2097152, Name = "ProDOS", Type = "Apple_PRODOS", Offset = 5197312, Length = 4096,
Sequence = 3, Start = 10151 },
new Partition{ Description = null, Size = 3996672, Name = "A/UX Root", Type = "Apple_UNIX_SVR2", Offset = 24081408, Length = 7806,
Sequence = 4, Start = 47034 },
new Partition{ Description = null, Size = 1486848, Name = "Random A/UX fs", Type = "Apple_UNIX_SVR2", Offset = 49152, Length = 2904,
Sequence = 5, Start = 96 },
new Partition{ Description = null, Size = 4406784, Name = "Extra", Type = "Apple_Free", Offset = 12442624, Length = 8607,
Sequence = 6, Start = 24302 },
new Partition{ Description = null, Size = 2485760, Name = "Random A/UX fs", Type = "Apple_UNIX_SVR2", Offset = 16849408, Length = 4855,
Sequence = 7, Start = 32909 },
new Partition{ Description = null, Size = 4746240, Name = "Extra", Type = "Apple_Free", Offset = 19335168, Length = 9270,
Sequence = 8, Start = 37764 },
new Partition{ Description = null, Size = 2097152, Name = "ProDOS", Type = "Apple_PRODOS", Offset = 1536000, Length = 4096,
Sequence = 9, Start = 3000 },
new Partition{ Description = null, Size = 1564160, Name = "Extra", Type = "Apple_Free", Offset = 3633152, Length = 3055,
Sequence = 10, Start = 7096 },
},
// Mac OS 7.5
new []{
new Partition{ PartitionDescription = null, PartitionLength = 9216, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 18,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 16384, PartitionName = "Macintosh", PartitionType = "Apple_Driver43", PartitionStart = 32768, PartitionSectors = 32,
PartitionSequence = 1, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 28028928, PartitionName = "MacOS", PartitionType = "Apple_HFS", PartitionStart = 49152, PartitionSectors = 54744,
PartitionSequence = 2, PartitionStartSector = 96 },
new Partition{ Description = null, Size = 9216, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 18,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 16384, Name = "Macintosh", Type = "Apple_Driver43", Offset = 32768, Length = 32,
Sequence = 1, Start = 64 },
new Partition{ Description = null, Size = 28028928, Name = "MacOS", Type = "Apple_HFS", Offset = 49152, Length = 54744,
Sequence = 2, Start = 96 },
},
// GNU Parted
new []{
new Partition{ PartitionDescription = null, PartitionLength = 47185920, PartitionName = "untitled", PartitionType = "Apple_HFS", PartitionStart = 2097152, PartitionSectors = 92160,
PartitionSequence = 0, PartitionStartSector = 4096 },
new Partition{ PartitionDescription = null, PartitionLength = 84934656, PartitionName = "untitled", PartitionType = "Apple_UNIX_SVR2", PartitionStart = 49283072, PartitionSectors = 165888,
PartitionSequence = 1, PartitionStartSector = 96256 },
new Partition{ PartitionDescription = null, PartitionLength = 2064384, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 32768, PartitionSectors = 4032,
PartitionSequence = 2, PartitionStartSector = 64 },
new Partition{ Description = null, Size = 47185920, Name = "untitled", Type = "Apple_HFS", Offset = 2097152, Length = 92160,
Sequence = 0, Start = 4096 },
new Partition{ Description = null, Size = 84934656, Name = "untitled", Type = "Apple_UNIX_SVR2", Offset = 49283072, Length = 165888,
Sequence = 1, Start = 96256 },
new Partition{ Description = null, Size = 2064384, Name = "Extra", Type = "Apple_Free", Offset = 32768, Length = 4032,
Sequence = 2, Start = 64 },
},
// Silverlining 2.2.1
new []{
new Partition{ PartitionDescription = null, PartitionLength = 3072, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 6,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 25088, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 98304, PartitionSectors = 49,
PartitionSequence = 1, PartitionStartSector = 192 },
new Partition{ PartitionDescription = null, PartitionLength = 65536, PartitionName = "Macintosh_SL", PartitionType = "Apple_Driver43", PartitionStart = 32768, PartitionSectors = 128,
PartitionSequence = 2, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 65536, PartitionName = "Macintosh_SL", PartitionType = "Apple_Driver_ATA", PartitionStart = 98304, PartitionSectors = 128,
PartitionSequence = 3, PartitionStartSector = 192 },
new Partition{ PartitionDescription = null, PartitionLength = 25804800, PartitionName = "Untitled #1", PartitionType = "Apple_HFS", PartitionStart = 163840, PartitionSectors = 50400,
PartitionSequence = 4, PartitionStartSector = 320 },
new Partition{ PartitionDescription = null, PartitionLength = 237568, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 25968640, PartitionSectors = 464,
PartitionSequence = 5, PartitionStartSector = 50720 },
new Partition{ Description = null, Size = 3072, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 6,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 25088, Name = null, Type = "Apple_Driver", Offset = 98304, Length = 49,
Sequence = 1, Start = 192 },
new Partition{ Description = null, Size = 65536, Name = "Macintosh_SL", Type = "Apple_Driver43", Offset = 32768, Length = 128,
Sequence = 2, Start = 64 },
new Partition{ Description = null, Size = 65536, Name = "Macintosh_SL", Type = "Apple_Driver_ATA", Offset = 98304, Length = 128,
Sequence = 3, Start = 192 },
new Partition{ Description = null, Size = 25804800, Name = "Untitled #1", Type = "Apple_HFS", Offset = 163840, Length = 50400,
Sequence = 4, Start = 320 },
new Partition{ Description = null, Size = 237568, Name = "Extra", Type = "Apple_Free", Offset = 25968640, Length = 464,
Sequence = 5, Start = 50720 },
},
// Hard Disk Speed Tools 3.6
new []{
new Partition{ PartitionDescription = null, PartitionLength = 13824, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 32768, PartitionSectors = 27,
PartitionSequence = 0, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 51200, PartitionName = "Macintosh", PartitionType = "Apple_Driver43", PartitionStart = 32768, PartitionSectors = 100,
PartitionSequence = 1, PartitionStartSector = 64 },
new Partition{ PartitionDescription = null, PartitionLength = 25165824, PartitionName = "untitled", PartitionType = "Apple_HFS", PartitionStart = 83968, PartitionSectors = 49152,
PartitionSequence = 2, PartitionStartSector = 164 },
new Partition{ PartitionDescription = null, PartitionLength = 963584, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 25249792, PartitionSectors = 1882,
PartitionSequence = 3, PartitionStartSector = 49316 },
new Partition{ Description = null, Size = 13824, Name = null, Type = "Apple_Driver", Offset = 32768, Length = 27,
Sequence = 0, Start = 64 },
new Partition{ Description = null, Size = 51200, Name = "Macintosh", Type = "Apple_Driver43", Offset = 32768, Length = 100,
Sequence = 1, Start = 64 },
new Partition{ Description = null, Size = 25165824, Name = "untitled", Type = "Apple_HFS", Offset = 83968, Length = 49152,
Sequence = 2, Start = 164 },
new Partition{ Description = null, Size = 963584, Name = "Extra", Type = "Apple_Free", Offset = 25249792, Length = 1882,
Sequence = 3, Start = 49316 },
},
// VCP Formatter 2.1.1
new []{
new Partition{ PartitionDescription = null, PartitionLength = 12288, PartitionName = null, PartitionType = "Apple_Driver", PartitionStart = 57344, PartitionSectors = 24,
PartitionSequence = 0, PartitionStartSector = 112 },
new Partition{ PartitionDescription = null, PartitionLength = 16384, PartitionName = "Macintosh", PartitionType = "Apple_Driver", PartitionStart = 57344, PartitionSectors = 32,
PartitionSequence = 1, PartitionStartSector = 112 },
new Partition{ PartitionDescription = null, PartitionLength = 16384, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 73728, PartitionSectors = 32,
PartitionSequence = 2, PartitionStartSector = 144 },
new Partition{ PartitionDescription = null, PartitionLength = 27986944, PartitionName = "MacOS", PartitionType = "Apple_HFS", PartitionStart = 90112, PartitionSectors = 54662,
PartitionSequence = 3, PartitionStartSector = 176 },
new Partition{ Description = null, Size = 12288, Name = null, Type = "Apple_Driver", Offset = 57344, Length = 24,
Sequence = 0, Start = 112 },
new Partition{ Description = null, Size = 16384, Name = "Macintosh", Type = "Apple_Driver", Offset = 57344, Length = 32,
Sequence = 1, Start = 112 },
new Partition{ Description = null, Size = 16384, Name = "Extra", Type = "Apple_Free", Offset = 73728, Length = 32,
Sequence = 2, Start = 144 },
new Partition{ Description = null, Size = 27986944, Name = "MacOS", Type = "Apple_HFS", Offset = 90112, Length = 54662,
Sequence = 3, Start = 176 },
// TODO: ADFS tries to read past this partition...
new Partition{ PartitionDescription = null, PartitionLength = 1024, PartitionName = "Extra", PartitionType = "Apple_Free", PartitionStart = 28077056, PartitionSectors = 2,
PartitionSequence = 4, PartitionStartSector = 54838 },
new Partition{ Description = null, Size = 1024, Name = "Extra", Type = "Apple_Free", Offset = 28077056, Length = 2,
Sequence = 4, Start = 54838 },
},
};
@@ -488,13 +488,13 @@ namespace DiscImageChef.Tests.Partitions
{
// Too chatty
//Assert.AreEqual(wanted[i][j].PartitionDescription, partitions[j].PartitionDescription, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionLength, partitions[j].PartitionLength, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionName, partitions[j].PartitionName, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionType, partitions[j].PartitionType, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionStart, partitions[j].PartitionStart, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionSectors, partitions[j].PartitionSectors, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionSequence, partitions[j].PartitionSequence, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionStartSector, partitions[j].PartitionStartSector, testfiles[i]);
Assert.AreEqual(wanted[i][j].Size, partitions[j].Size, testfiles[i]);
Assert.AreEqual(wanted[i][j].Name, partitions[j].Name, testfiles[i]);
Assert.AreEqual(wanted[i][j].Type, partitions[j].Type, testfiles[i]);
Assert.AreEqual(wanted[i][j].Offset, partitions[j].Offset, testfiles[i]);
Assert.AreEqual(wanted[i][j].Length, partitions[j].Length, testfiles[i]);
Assert.AreEqual(wanted[i][j].Sequence, partitions[j].Sequence, testfiles[i]);
Assert.AreEqual(wanted[i][j].Start, partitions[j].Start, testfiles[i]);
}
}
}

View File

@@ -57,58 +57,58 @@ namespace DiscImageChef.Tests.Partitions
readonly Partition[][] wanted = {
// Linux (AHDI)
new []{
new Partition{ PartitionDescription = null, PartitionLength = 31457280, PartitionName = null, PartitionType = "GEM", PartitionStart = 512, PartitionSectors = 61440,
PartitionSequence = 0, PartitionStartSector = 1 },
new Partition{ PartitionDescription = null, PartitionLength = 41943040, PartitionName = null, PartitionType = "BGM", PartitionStart = 31457792, PartitionSectors = 81920,
PartitionSequence = 1, PartitionStartSector = 61441 },
new Partition{ PartitionDescription = null, PartitionLength = 56402432, PartitionName = null, PartitionType = "LNX", PartitionStart = 73400832, PartitionSectors = 110161,
PartitionSequence = 2, PartitionStartSector = 143361 },
new Partition{ PartitionDescription = null, PartitionLength = 43212800, PartitionName = null, PartitionType = "MAC", PartitionStart = 129803264, PartitionSectors = 84400,
PartitionSequence = 3, PartitionStartSector = 253522 },
new Partition{ PartitionDescription = null, PartitionLength = 57671680, PartitionName = null, PartitionType = "MIX", PartitionStart = 173016064, PartitionSectors = 112640,
PartitionSequence = 4, PartitionStartSector = 337922 },
new Partition{ PartitionDescription = null, PartitionLength = 62914560, PartitionName = null, PartitionType = "MNX", PartitionStart = 230687744, PartitionSectors = 122880,
PartitionSequence = 5, PartitionStartSector = 450562 },
new Partition{ PartitionDescription = null, PartitionLength = 73400320, PartitionName = null, PartitionType = "RAW", PartitionStart = 293602304, PartitionSectors = 143360,
PartitionSequence = 6, PartitionStartSector = 573442 },
new Partition{ PartitionDescription = null, PartitionLength = 78643200, PartitionName = null, PartitionType = "SWP", PartitionStart = 367002624, PartitionSectors = 153600,
PartitionSequence = 7, PartitionStartSector = 716802 },
new Partition{ PartitionDescription = null, PartitionLength = 1048576, PartitionName = null, PartitionType = "UNX", PartitionStart = 445645824, PartitionSectors = 2048,
PartitionSequence = 8, PartitionStartSector = 870402 },
new Partition{ PartitionDescription = null, PartitionLength = 77593600, PartitionName = null, PartitionType = "LNX", PartitionStart = 446694400, PartitionSectors = 151550,
PartitionSequence = 9, PartitionStartSector = 872450 },
new Partition{ Description = null, Size = 31457280, Name = null, Type = "GEM", Offset = 512, Length = 61440,
Sequence = 0, Start = 1 },
new Partition{ Description = null, Size = 41943040, Name = null, Type = "BGM", Offset = 31457792, Length = 81920,
Sequence = 1, Start = 61441 },
new Partition{ Description = null, Size = 56402432, Name = null, Type = "LNX", Offset = 73400832, Length = 110161,
Sequence = 2, Start = 143361 },
new Partition{ Description = null, Size = 43212800, Name = null, Type = "MAC", Offset = 129803264, Length = 84400,
Sequence = 3, Start = 253522 },
new Partition{ Description = null, Size = 57671680, Name = null, Type = "MIX", Offset = 173016064, Length = 112640,
Sequence = 4, Start = 337922 },
new Partition{ Description = null, Size = 62914560, Name = null, Type = "MNX", Offset = 230687744, Length = 122880,
Sequence = 5, Start = 450562 },
new Partition{ Description = null, Size = 73400320, Name = null, Type = "RAW", Offset = 293602304, Length = 143360,
Sequence = 6, Start = 573442 },
new Partition{ Description = null, Size = 78643200, Name = null, Type = "SWP", Offset = 367002624, Length = 153600,
Sequence = 7, Start = 716802 },
new Partition{ Description = null, Size = 1048576, Name = null, Type = "UNX", Offset = 445645824, Length = 2048,
Sequence = 8, Start = 870402 },
new Partition{ Description = null, Size = 77593600, Name = null, Type = "LNX", Offset = 446694400, Length = 151550,
Sequence = 9, Start = 872450 },
},
// Linux (ICD)
new []{
new Partition{ PartitionDescription = null, PartitionLength = 15728640, PartitionName = null, PartitionType = "GEM", PartitionStart = 512, PartitionSectors = 30720,
PartitionSequence = 0, PartitionStartSector = 1 },
new Partition{ PartitionDescription = null, PartitionLength = 20971520, PartitionName = null, PartitionType = "UNX", PartitionStart = 15729152, PartitionSectors = 40960,
PartitionSequence = 1, PartitionStartSector = 30721 },
new Partition{ PartitionDescription = null, PartitionLength = 31457280, PartitionName = null, PartitionType = "LNX", PartitionStart = 36700672, PartitionSectors = 61440,
PartitionSequence = 2, PartitionStartSector = 71681 },
new Partition{ PartitionDescription = null, PartitionLength = 41943040, PartitionName = null, PartitionType = "BGM", PartitionStart = 68157952, PartitionSectors = 81920,
PartitionSequence = 3, PartitionStartSector = 133121 },
new Partition{ PartitionDescription = null, PartitionLength = 52428800, PartitionName = null, PartitionType = "MAC", PartitionStart = 110100992, PartitionSectors = 102400,
PartitionSequence = 4, PartitionStartSector = 215041 },
new Partition{ PartitionDescription = null, PartitionLength = 62914560, PartitionName = null, PartitionType = "MIX", PartitionStart = 162529792, PartitionSectors = 122880,
PartitionSequence = 5, PartitionStartSector = 317441 },
new Partition{ PartitionDescription = null, PartitionLength = 83886080, PartitionName = null, PartitionType = "SWP", PartitionStart = 225444352, PartitionSectors = 163840,
PartitionSequence = 6, PartitionStartSector = 440321 },
new Partition{ PartitionDescription = null, PartitionLength = 103809024, PartitionName = null, PartitionType = "MNX", PartitionStart = 309330432, PartitionSectors = 202752,
PartitionSequence = 7, PartitionStartSector = 604161 },
new Partition{ PartitionDescription = null, PartitionLength = 104857600, PartitionName = null, PartitionType = "LNX", PartitionStart = 413139456, PartitionSectors = 204800,
PartitionSequence = 8, PartitionStartSector = 806913 },
new Partition{ Description = null, Size = 15728640, Name = null, Type = "GEM", Offset = 512, Length = 30720,
Sequence = 0, Start = 1 },
new Partition{ Description = null, Size = 20971520, Name = null, Type = "UNX", Offset = 15729152, Length = 40960,
Sequence = 1, Start = 30721 },
new Partition{ Description = null, Size = 31457280, Name = null, Type = "LNX", Offset = 36700672, Length = 61440,
Sequence = 2, Start = 71681 },
new Partition{ Description = null, Size = 41943040, Name = null, Type = "BGM", Offset = 68157952, Length = 81920,
Sequence = 3, Start = 133121 },
new Partition{ Description = null, Size = 52428800, Name = null, Type = "MAC", Offset = 110100992, Length = 102400,
Sequence = 4, Start = 215041 },
new Partition{ Description = null, Size = 62914560, Name = null, Type = "MIX", Offset = 162529792, Length = 122880,
Sequence = 5, Start = 317441 },
new Partition{ Description = null, Size = 83886080, Name = null, Type = "SWP", Offset = 225444352, Length = 163840,
Sequence = 6, Start = 440321 },
new Partition{ Description = null, Size = 103809024, Name = null, Type = "MNX", Offset = 309330432, Length = 202752,
Sequence = 7, Start = 604161 },
new Partition{ Description = null, Size = 104857600, Name = null, Type = "LNX", Offset = 413139456, Length = 204800,
Sequence = 8, Start = 806913 },
},
// TOS 1.04
new []{
new Partition{ PartitionDescription = null, PartitionLength = 7340032, PartitionName = null, PartitionType = "GEM", PartitionStart = 1024, PartitionSectors = 14336,
PartitionSequence = 0, PartitionStartSector = 2 },
new Partition{ PartitionDescription = null, PartitionLength = 7340032, PartitionName = null, PartitionType = "GEM", PartitionStart = 7341056, PartitionSectors = 14336,
PartitionSequence = 1, PartitionStartSector = 14338 },
new Partition{ PartitionDescription = null, PartitionLength = 7340032, PartitionName = null, PartitionType = "GEM", PartitionStart = 14681088, PartitionSectors = 14336,
PartitionSequence = 2, PartitionStartSector = 28674 },
new Partition{ PartitionDescription = null, PartitionLength = 7339008, PartitionName = null, PartitionType = "GEM", PartitionStart = 22021120, PartitionSectors = 14334,
PartitionSequence = 3, PartitionStartSector = 43010 },
new Partition{ Description = null, Size = 7340032, Name = null, Type = "GEM", Offset = 1024, Length = 14336,
Sequence = 0, Start = 2 },
new Partition{ Description = null, Size = 7340032, Name = null, Type = "GEM", Offset = 7341056, Length = 14336,
Sequence = 1, Start = 14338 },
new Partition{ Description = null, Size = 7340032, Name = null, Type = "GEM", Offset = 14681088, Length = 14336,
Sequence = 2, Start = 28674 },
new Partition{ Description = null, Size = 7339008, Name = null, Type = "GEM", Offset = 22021120, Length = 14334,
Sequence = 3, Start = 43010 },
},
};
@@ -129,13 +129,13 @@ namespace DiscImageChef.Tests.Partitions
{
// Too chatty
//Assert.AreEqual(wanted[i][j].PartitionDescription, partitions[j].PartitionDescription, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionLength, partitions[j].PartitionLength, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionName, partitions[j].PartitionName, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionType, partitions[j].PartitionType, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionStart, partitions[j].PartitionStart, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionSectors, partitions[j].PartitionSectors, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionSequence, partitions[j].PartitionSequence, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionStartSector, partitions[j].PartitionStartSector, testfiles[i]);
Assert.AreEqual(wanted[i][j].Size, partitions[j].Size, testfiles[i]);
Assert.AreEqual(wanted[i][j].Name, partitions[j].Name, testfiles[i]);
Assert.AreEqual(wanted[i][j].Type, partitions[j].Type, testfiles[i]);
Assert.AreEqual(wanted[i][j].Offset, partitions[j].Offset, testfiles[i]);
Assert.AreEqual(wanted[i][j].Length, partitions[j].Length, testfiles[i]);
Assert.AreEqual(wanted[i][j].Sequence, partitions[j].Sequence, testfiles[i]);
Assert.AreEqual(wanted[i][j].Start, partitions[j].Start, testfiles[i]);
}
}
}

View File

@@ -56,12 +56,12 @@ namespace DiscImageChef.Tests.Partitions
readonly Partition[][] wanted = {
// Parted
new []{
new Partition{ PartitionDescription = null, PartitionLength = 38797312, PartitionName = null, PartitionType = "???", PartitionStart = 1048576, PartitionSectors = 75776,
PartitionSequence = 0, PartitionStartSector = 2048 },
new Partition{ PartitionDescription = null, PartitionLength = 19922944, PartitionName = null, PartitionType = "???", PartitionStart = 40894464, PartitionSectors = 38912,
PartitionSequence = 1, PartitionStartSector = 79872 },
new Partition{ PartitionDescription = null, PartitionLength = 48234496, PartitionName = null, PartitionType = "???", PartitionStart = 61865984, PartitionSectors = 94208,
PartitionSequence = 2, PartitionStartSector = 120832 },
new Partition{ Description = null, Size = 38797312, Name = null, Type = "???", Offset = 1048576, Length = 75776,
Sequence = 0, Start = 2048 },
new Partition{ Description = null, Size = 19922944, Name = null, Type = "???", Offset = 40894464, Length = 38912,
Sequence = 1, Start = 79872 },
new Partition{ Description = null, Size = 48234496, Name = null, Type = "???", Offset = 61865984, Length = 94208,
Sequence = 2, Start = 120832 },
},
};

View File

@@ -57,27 +57,27 @@ namespace DiscImageChef.Tests.Partitions
readonly Partition[][] wanted = {
// Linux
new []{
new Partition{ PartitionDescription = null, PartitionLength = 10485760, PartitionName = "EFI System", PartitionType = "EFI System", PartitionStart = 1048576, PartitionSectors = 20480,
PartitionSequence = 0, PartitionStartSector = 2048 },
new Partition{ PartitionDescription = null, PartitionLength = 15728640, PartitionName = "Microsoft basic data", PartitionType = "Microsoft Basic data", PartitionStart = 11534336, PartitionSectors = 30720,
PartitionSequence = 1, PartitionStartSector = 22528 },
new Partition{ PartitionDescription = null, PartitionLength = 20971520, PartitionName = "Apple label", PartitionType = "Apple Label", PartitionStart = 27262976, PartitionSectors = 40960,
PartitionSequence = 2, PartitionStartSector = 53248 },
new Partition{ PartitionDescription = null, PartitionLength = 26214400, PartitionName = "Solaris /usr & Mac ZFS", PartitionType = "Solaris /usr or Apple ZFS", PartitionStart = 48234496, PartitionSectors = 51200,
PartitionSequence = 3, PartitionStartSector = 94208 },
new Partition{ PartitionDescription = null, PartitionLength = 31457280, PartitionName = "FreeBSD ZFS", PartitionType = "FreeBSD ZFS", PartitionStart = 74448896, PartitionSectors = 61440,
PartitionSequence = 4, PartitionStartSector = 145408 },
new Partition{ PartitionDescription = null, PartitionLength = 28294656, PartitionName = "HP-UX data", PartitionType = "HP-UX Data", PartitionStart = 105906176, PartitionSectors = 55263,
PartitionSequence = 5, PartitionStartSector = 206848 },
new Partition{ Description = null, Size = 10485760, Name = "EFI System", Type = "EFI System", Offset = 1048576, Length = 20480,
Sequence = 0, Start = 2048 },
new Partition{ Description = null, Size = 15728640, Name = "Microsoft basic data", Type = "Microsoft Basic data", Offset = 11534336, Length = 30720,
Sequence = 1, Start = 22528 },
new Partition{ Description = null, Size = 20971520, Name = "Apple label", Type = "Apple Label", Offset = 27262976, Length = 40960,
Sequence = 2, Start = 53248 },
new Partition{ Description = null, Size = 26214400, Name = "Solaris /usr & Mac ZFS", Type = "Solaris /usr or Apple ZFS", Offset = 48234496, Length = 51200,
Sequence = 3, Start = 94208 },
new Partition{ Description = null, Size = 31457280, Name = "FreeBSD ZFS", Type = "FreeBSD ZFS", Offset = 74448896, Length = 61440,
Sequence = 4, Start = 145408 },
new Partition{ Description = null, Size = 28294656, Name = "HP-UX data", Type = "HP-UX Data", Offset = 105906176, Length = 55263,
Sequence = 5, Start = 206848 },
},
// Parted
new []{
new Partition{ PartitionDescription = null, PartitionLength = 42991616, PartitionName = "", PartitionType = "Apple HFS", PartitionStart = 1048576, PartitionSectors = 83968,
PartitionSequence = 0, PartitionStartSector = 2048 },
new Partition{ PartitionDescription = null, PartitionLength = 52428800, PartitionName = "", PartitionType = "Linux filesystem", PartitionStart = 44040192, PartitionSectors = 102400,
PartitionSequence = 1, PartitionStartSector = 86016 },
new Partition{ PartitionDescription = null, PartitionLength = 36700160, PartitionName = "", PartitionType = "Microsoft Basic data", PartitionStart = 96468992, PartitionSectors = 71680,
PartitionSequence = 2, PartitionStartSector = 188416 },
new Partition{ Description = null, Size = 42991616, Name = "", Type = "Apple HFS", Offset = 1048576, Length = 83968,
Sequence = 0, Start = 2048 },
new Partition{ Description = null, Size = 52428800, Name = "", Type = "Linux filesystem", Offset = 44040192, Length = 102400,
Sequence = 1, Start = 86016 },
new Partition{ Description = null, Size = 36700160, Name = "", Type = "Microsoft Basic data", Offset = 96468992, Length = 71680,
Sequence = 2, Start = 188416 },
},
};
@@ -98,13 +98,13 @@ namespace DiscImageChef.Tests.Partitions
{
// Too chatty
//Assert.AreEqual(wanted[i][j].PartitionDescription, partitions[j].PartitionDescription, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionLength, partitions[j].PartitionLength, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionName, partitions[j].PartitionName, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionType, partitions[j].PartitionType, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionStart, partitions[j].PartitionStart, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionSectors, partitions[j].PartitionSectors, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionSequence, partitions[j].PartitionSequence, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionStartSector, partitions[j].PartitionStartSector, testfiles[i]);
Assert.AreEqual(wanted[i][j].Size, partitions[j].Size, testfiles[i]);
Assert.AreEqual(wanted[i][j].Name, partitions[j].Name, testfiles[i]);
Assert.AreEqual(wanted[i][j].Type, partitions[j].Type, testfiles[i]);
Assert.AreEqual(wanted[i][j].Offset, partitions[j].Offset, testfiles[i]);
Assert.AreEqual(wanted[i][j].Length, partitions[j].Length, testfiles[i]);
Assert.AreEqual(wanted[i][j].Sequence, partitions[j].Sequence, testfiles[i]);
Assert.AreEqual(wanted[i][j].Start, partitions[j].Start, testfiles[i]);
}
}
}

View File

@@ -65,501 +65,501 @@ namespace DiscImageChef.Tests.Partitions
readonly Partition[][] wanted = {
// Concurrent DOS 6.0
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 100800,
PartitionSequence = 0, PartitionStartSector = 1008 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 99792,
PartitionSequence = 1, PartitionStartSector = 102816 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 100800,
PartitionSequence = 2, PartitionStartSector = 202608 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 303408,
PartitionSequence = 2, PartitionStartSector = 352800 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 100800,
Sequence = 0, Start = 1008 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 99792,
Sequence = 1, Start = 102816 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 100800,
Sequence = 2, Start = 202608 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 303408,
Sequence = 2, Start = 352800 },
},
// Darwin 1.4.1
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x07", PartitionSectors = 409248,
PartitionSequence = 0, PartitionStartSector = 409248 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0xA8", PartitionSectors = 204624,
PartitionSequence = 1, PartitionStartSector = 818496 },
new Partition{ Description = null, Name = null, Type = "0x07", Length = 409248,
Sequence = 0, Start = 409248 },
new Partition{ Description = null, Name = null, Type = "0xA8", Length = 204624,
Sequence = 1, Start = 818496 },
},
// Darwin 6.0.2
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0xA8", PartitionSectors = 204561,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0xAB", PartitionSectors = 81648,
PartitionSequence = 1, PartitionStartSector = 204624 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 245952,
PartitionSequence = 2, PartitionStartSector = 286272 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 488880,
PartitionSequence = 2, PartitionStartSector = 532224 },
new Partition{ Description = null, Name = null, Type = "0xA8", Length = 204561,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0xAB", Length = 81648,
Sequence = 1, Start = 204624 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 245952,
Sequence = 2, Start = 286272 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 488880,
Sequence = 2, Start = 532224 },
},
// Darwin 8.0.1
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 150000,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0xAF", PartitionSectors = 176000,
PartitionSequence = 1, PartitionStartSector = 150063 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0xA8", PartitionSectors = 350000,
PartitionSequence = 2, PartitionStartSector = 326063 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x0C", PartitionSectors = 347937,
PartitionSequence = 2, PartitionStartSector = 676063 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 150000,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0xAF", Length = 176000,
Sequence = 1, Start = 150063 },
new Partition{ Description = null, Name = null, Type = "0xA8", Length = 350000,
Sequence = 2, Start = 326063 },
new Partition{ Description = null, Name = null, Type = "0x0C", Length = 347937,
Sequence = 2, Start = 676063 },
},
// DR-DOS 3.40
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 100800,
PartitionSequence = 0, PartitionStartSector = 1008 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 402129,
PartitionSequence = 1, PartitionStartSector = 101871 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 152145,
PartitionSequence = 2, PartitionStartSector = 504063 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 365841,
PartitionSequence = 2, PartitionStartSector = 656271 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 100800,
Sequence = 0, Start = 1008 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 402129,
Sequence = 1, Start = 101871 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 152145,
Sequence = 2, Start = 504063 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 365841,
Sequence = 2, Start = 656271 },
},
// DR-DOS 3.41
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 126945,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 124929,
PartitionSequence = 1, PartitionStartSector = 127071 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 101745,
PartitionSequence = 2, PartitionStartSector = 252063 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 668241,
PartitionSequence = 2, PartitionStartSector = 353871 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 126945,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 124929,
Sequence = 1, Start = 127071 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 101745,
Sequence = 2, Start = 252063 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 668241,
Sequence = 2, Start = 353871 },
},
// DR-DOS 5.00
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 128016,
PartitionSequence = 0, PartitionStartSector = 124992 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 99729,
PartitionSequence = 1, PartitionStartSector = 253071 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 100737,
PartitionSequence = 2, PartitionStartSector = 352863 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 313425,
PartitionSequence = 2, PartitionStartSector = 453663 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 254961,
PartitionSequence = 2, PartitionStartSector = 767151 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 128016,
Sequence = 0, Start = 124992 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 99729,
Sequence = 1, Start = 253071 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 100737,
Sequence = 2, Start = 352863 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 313425,
Sequence = 2, Start = 453663 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 254961,
Sequence = 2, Start = 767151 },
},
// DR-DOS 6.00
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 101745,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 18081,
PartitionSequence = 1, PartitionStartSector = 102879 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 130977,
PartitionSequence = 2, PartitionStartSector = 121023 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 202545,
PartitionSequence = 2, PartitionStartSector = 252063 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 567441,
PartitionSequence = 2, PartitionStartSector = 454671 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 101745,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 18081,
Sequence = 1, Start = 102879 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 130977,
Sequence = 2, Start = 121023 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 202545,
Sequence = 2, Start = 252063 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 567441,
Sequence = 2, Start = 454671 },
},
// DR-DOS 7.02
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 102753,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 307377,
PartitionSequence = 1, PartitionStartSector = 102879 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 384993,
PartitionSequence = 2, PartitionStartSector = 410319 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 17073,
PartitionSequence = 2, PartitionStartSector = 795375 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 209601,
PartitionSequence = 2, PartitionStartSector = 812511 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 102753,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 307377,
Sequence = 1, Start = 102879 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 384993,
Sequence = 2, Start = 410319 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 17073,
Sequence = 2, Start = 795375 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 209601,
Sequence = 2, Start = 812511 },
},
// DR-DOS 7.03
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 202545,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 141057,
PartitionSequence = 1, PartitionStartSector = 202671 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 152145,
PartitionSequence = 2, PartitionStartSector = 352863 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 364833,
PartitionSequence = 2, PartitionStartSector = 505071 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 152145,
PartitionSequence = 2, PartitionStartSector = 869967 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 202545,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 141057,
Sequence = 1, Start = 202671 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 152145,
Sequence = 2, Start = 352863 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 364833,
Sequence = 2, Start = 505071 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 152145,
Sequence = 2, Start = 869967 },
},
// DR-DOS 8.0
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 205569,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 138033,
PartitionSequence = 1, PartitionStartSector = 205695 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 303345,
PartitionSequence = 2, PartitionStartSector = 352863 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 249921,
PartitionSequence = 2, PartitionStartSector = 656271 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 115857,
PartitionSequence = 2, PartitionStartSector = 906255 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 205569,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 138033,
Sequence = 1, Start = 205695 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 303345,
Sequence = 2, Start = 352863 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 249921,
Sequence = 2, Start = 656271 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 115857,
Sequence = 2, Start = 906255 },
},
// Linux
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 20480,
PartitionSequence = 0, PartitionStartSector = 2048 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x24", PartitionSectors = 40960,
PartitionSequence = 1, PartitionStartSector = 22528 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0xA7", PartitionSectors = 61440,
PartitionSequence = 2, PartitionStartSector = 65536 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x42", PartitionSectors = 81920,
PartitionSequence = 2, PartitionStartSector = 129024 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x83", PartitionSectors = 49152,
PartitionSequence = 2, PartitionStartSector = 212992 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 20480,
Sequence = 0, Start = 2048 },
new Partition{ Description = null, Name = null, Type = "0x24", Length = 40960,
Sequence = 1, Start = 22528 },
new Partition{ Description = null, Name = null, Type = "0xA7", Length = 61440,
Sequence = 2, Start = 65536 },
new Partition{ Description = null, Name = null, Type = "0x42", Length = 81920,
Sequence = 2, Start = 129024 },
new Partition{ Description = null, Name = null, Type = "0x83", Length = 49152,
Sequence = 2, Start = 212992 },
},
// Mac OS X 10.3
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0xA8", PartitionSectors = 204800,
PartitionSequence = 0, PartitionStartSector = 8 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0xAF", PartitionSectors = 102400,
PartitionSequence = 1, PartitionStartSector = 204816 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x0B", PartitionSectors = 102400,
PartitionSequence = 2, PartitionStartSector = 307224 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0xAF", PartitionSectors = 204800,
PartitionSequence = 0, PartitionStartSector = 409632 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0xAF", PartitionSectors = 204800,
PartitionSequence = 1, PartitionStartSector = 614440 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0xAF", PartitionSectors = 204752,
PartitionSequence = 2, PartitionStartSector = 819248 },
new Partition{ Description = null, Name = null, Type = "0xA8", Length = 204800,
Sequence = 0, Start = 8 },
new Partition{ Description = null, Name = null, Type = "0xAF", Length = 102400,
Sequence = 1, Start = 204816 },
new Partition{ Description = null, Name = null, Type = "0x0B", Length = 102400,
Sequence = 2, Start = 307224 },
new Partition{ Description = null, Name = null, Type = "0xAF", Length = 204800,
Sequence = 0, Start = 409632 },
new Partition{ Description = null, Name = null, Type = "0xAF", Length = 204800,
Sequence = 1, Start = 614440 },
new Partition{ Description = null, Name = null, Type = "0xAF", Length = 204752,
Sequence = 2, Start = 819248 },
},
// Mac OS X 10.4
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0xAF", PartitionSectors = 102400,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0xAF", PartitionSectors = 204800,
PartitionSequence = 1, PartitionStartSector = 102501 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x0B", PartitionSectors = 204800,
PartitionSequence = 2, PartitionStartSector = 307314 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0xA8", PartitionSectors = 204800,
PartitionSequence = 0, PartitionStartSector = 512127 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 102400,
PartitionSequence = 1, PartitionStartSector = 716940 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0xAF", PartitionSectors = 204624,
PartitionSequence = 2, PartitionStartSector = 819378 },
new Partition{ Description = null, Name = null, Type = "0xAF", Length = 102400,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0xAF", Length = 204800,
Sequence = 1, Start = 102501 },
new Partition{ Description = null, Name = null, Type = "0x0B", Length = 204800,
Sequence = 2, Start = 307314 },
new Partition{ Description = null, Name = null, Type = "0xA8", Length = 204800,
Sequence = 0, Start = 512127 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 102400,
Sequence = 1, Start = 716940 },
new Partition{ Description = null, Name = null, Type = "0xAF", Length = 204624,
Sequence = 2, Start = 819378 },
},
// MS-DOS 3.30A
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 1, PartitionStartSector = 65583 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 131103 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 196623 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 262143 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 327663 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 393183 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 458703 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 524223 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 589743 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 655263 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 720783 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 786303 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 851823 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 917343 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 39249,
PartitionSequence = 2, PartitionStartSector = 982863 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 1, Start = 65583 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 131103 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 196623 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 262143 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 327663 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 393183 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 458703 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 524223 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 589743 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 655263 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 720783 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 786303 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 851823 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 917343 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 39249,
Sequence = 2, Start = 982863 },
},
// MS-DOS 5.00
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 102753,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 31185,
PartitionSequence = 1, PartitionStartSector = 102879 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 41265,
PartitionSequence = 2, PartitionStartSector = 134127 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 51345,
PartitionSequence = 2, PartitionStartSector = 175455 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 61425,
PartitionSequence = 2, PartitionStartSector = 226863 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 72513,
PartitionSequence = 2, PartitionStartSector = 288351 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 82593,
PartitionSequence = 2, PartitionStartSector = 360927 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 92673,
PartitionSequence = 2, PartitionStartSector = 443583 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 102753,
PartitionSequence = 2, PartitionStartSector = 536319 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 112833,
PartitionSequence = 2, PartitionStartSector = 639135 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 122913,
PartitionSequence = 2, PartitionStartSector = 752031 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 134001,
PartitionSequence = 2, PartitionStartSector = 875007 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 13041,
PartitionSequence = 2, PartitionStartSector = 1009071 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 102753,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 31185,
Sequence = 1, Start = 102879 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 41265,
Sequence = 2, Start = 134127 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 51345,
Sequence = 2, Start = 175455 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 61425,
Sequence = 2, Start = 226863 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 72513,
Sequence = 2, Start = 288351 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 82593,
Sequence = 2, Start = 360927 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 92673,
Sequence = 2, Start = 443583 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 102753,
Sequence = 2, Start = 536319 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 112833,
Sequence = 2, Start = 639135 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 122913,
Sequence = 2, Start = 752031 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 134001,
Sequence = 2, Start = 875007 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 13041,
Sequence = 2, Start = 1009071 },
},
// MS-DOS 6.00
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 51345,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 72513,
PartitionSequence = 1, PartitionStartSector = 51471 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 92673,
PartitionSequence = 2, PartitionStartSector = 124047 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 112833,
PartitionSequence = 2, PartitionStartSector = 216783 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 134001,
PartitionSequence = 2, PartitionStartSector = 329679 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 154161,
PartitionSequence = 2, PartitionStartSector = 463743 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 178353,
PartitionSequence = 2, PartitionStartSector = 617967 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 184401,
PartitionSequence = 2, PartitionStartSector = 796383 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 41265,
PartitionSequence = 2, PartitionStartSector = 980847 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 51345,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 72513,
Sequence = 1, Start = 51471 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 92673,
Sequence = 2, Start = 124047 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 112833,
Sequence = 2, Start = 216783 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 134001,
Sequence = 2, Start = 329679 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 154161,
Sequence = 2, Start = 463743 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 178353,
Sequence = 2, Start = 617967 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 184401,
Sequence = 2, Start = 796383 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 41265,
Sequence = 2, Start = 980847 },
},
// MS-DOS 6.20
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 205569,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 225729,
PartitionSequence = 1, PartitionStartSector = 205695 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 245889,
PartitionSequence = 2, PartitionStartSector = 431487 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 267057,
PartitionSequence = 2, PartitionStartSector = 677439 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 61425,
PartitionSequence = 2, PartitionStartSector = 944559 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 16065,
PartitionSequence = 2, PartitionStartSector = 1006047 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 205569,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 225729,
Sequence = 1, Start = 205695 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 245889,
Sequence = 2, Start = 431487 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 267057,
Sequence = 2, Start = 677439 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 61425,
Sequence = 2, Start = 944559 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 16065,
Sequence = 2, Start = 1006047 },
},
// MS-DOS 6.21
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 205569,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 225729,
PartitionSequence = 1, PartitionStartSector = 205695 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 245889,
PartitionSequence = 2, PartitionStartSector = 431487 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 267057,
PartitionSequence = 2, PartitionStartSector = 677439 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 51345,
PartitionSequence = 2, PartitionStartSector = 944559 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 6993,
PartitionSequence = 2, PartitionStartSector = 995967 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 19089,
PartitionSequence = 2, PartitionStartSector = 1003023 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 205569,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 225729,
Sequence = 1, Start = 205695 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 245889,
Sequence = 2, Start = 431487 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 267057,
Sequence = 2, Start = 677439 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 51345,
Sequence = 2, Start = 944559 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 6993,
Sequence = 2, Start = 995967 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 19089,
Sequence = 2, Start = 1003023 },
},
// MS-DOS 6.22
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 245889,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 205569,
PartitionSequence = 1, PartitionStartSector = 246015 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 307377,
PartitionSequence = 2, PartitionStartSector = 451647 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 225729,
PartitionSequence = 2, PartitionStartSector = 759087 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 37233,
PartitionSequence = 2, PartitionStartSector = 984879 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 245889,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 205569,
Sequence = 1, Start = 246015 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 307377,
Sequence = 2, Start = 451647 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 225729,
Sequence = 2, Start = 759087 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 37233,
Sequence = 2, Start = 984879 },
},
// Multiuser DOS 7.22 release 04
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 152145,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 99729,
PartitionSequence = 1, PartitionStartSector = 152271 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 202545,
PartitionSequence = 2, PartitionStartSector = 252063 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 1953,
PartitionSequence = 2, PartitionStartSector = 454671 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 565425,
PartitionSequence = 2, PartitionStartSector = 456687 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 152145,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 99729,
Sequence = 1, Start = 152271 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 202545,
Sequence = 2, Start = 252063 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 1953,
Sequence = 2, Start = 454671 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 565425,
Sequence = 2, Start = 456687 },
},
// Novell DOS 7.0
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 252945,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 4977,
PartitionSequence = 1, PartitionStartSector = 253071 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 202545,
PartitionSequence = 2, PartitionStartSector = 352863 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 348705,
PartitionSequence = 2, PartitionStartSector = 555471 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 117873,
PartitionSequence = 2, PartitionStartSector = 904239 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 252945,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 4977,
Sequence = 1, Start = 253071 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 202545,
Sequence = 2, Start = 352863 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 348705,
Sequence = 2, Start = 555471 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 117873,
Sequence = 2, Start = 904239 },
},
// OpenDOS 7.01
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 307377,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 4977,
PartitionSequence = 1, PartitionStartSector = 307503 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 40257,
PartitionSequence = 2, PartitionStartSector = 312543 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 202545,
PartitionSequence = 2, PartitionStartSector = 352863 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 466641,
PartitionSequence = 2, PartitionStartSector = 555471 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 307377,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 4977,
Sequence = 1, Start = 307503 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 40257,
Sequence = 2, Start = 312543 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 202545,
Sequence = 2, Start = 352863 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 466641,
Sequence = 2, Start = 555471 },
},
// Parted
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x83", PartitionSectors = 67584,
PartitionSequence = 0, PartitionStartSector = 4096 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x07", PartitionSectors = 59392,
PartitionSequence = 1, PartitionStartSector = 73728 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 129024,
PartitionSequence = 2, PartitionStartSector = 133120 },
new Partition{ Description = null, Name = null, Type = "0x83", Length = 67584,
Sequence = 0, Start = 4096 },
new Partition{ Description = null, Name = null, Type = "0x07", Length = 59392,
Sequence = 1, Start = 73728 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 129024,
Sequence = 2, Start = 133120 },
},
// PC-DOS 2000
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 205569,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 225729,
PartitionSequence = 1, PartitionStartSector = 205695 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 245889,
PartitionSequence = 2, PartitionStartSector = 431487 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 287217,
PartitionSequence = 2, PartitionStartSector = 677439 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 57393,
PartitionSequence = 2, PartitionStartSector = 964719 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 205569,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 225729,
Sequence = 1, Start = 205695 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 245889,
Sequence = 2, Start = 431487 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 287217,
Sequence = 2, Start = 677439 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 57393,
Sequence = 2, Start = 964719 },
},
// PC-DOS 2.00
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 1022111,
PartitionSequence = 0, PartitionStartSector = 1 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 1022111,
Sequence = 0, Start = 1 },
},
// PC-DOS 2.10
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 1022111,
PartitionSequence = 0, PartitionStartSector = 1 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 1022111,
Sequence = 0, Start = 1 },
},
// PC-DOS 3.00
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 66465,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 66465,
Sequence = 0, Start = 63 },
},
// PC-DOS 3.10
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 66465,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 66465,
Sequence = 0, Start = 63 },
},
// PC-DOS 3.30
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 1, PartitionStartSector = 65583 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 131103 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 196623 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 262143 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 327663 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 393183 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 458703 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 524223 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 589743 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 655263 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 720783 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 786303 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 851823 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 65457,
PartitionSequence = 2, PartitionStartSector = 917343 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x04", PartitionSectors = 39249,
PartitionSequence = 2, PartitionStartSector = 982863 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 1, Start = 65583 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 131103 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 196623 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 262143 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 327663 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 393183 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 458703 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 524223 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 589743 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 655263 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 720783 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 786303 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 851823 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 65457,
Sequence = 2, Start = 917343 },
new Partition{ Description = null, Name = null, Type = "0x04", Length = 39249,
Sequence = 2, Start = 982863 },
},
// PC-DOS 4.00
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 205569,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 25137,
PartitionSequence = 1, PartitionStartSector = 205695 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 245889,
PartitionSequence = 2, PartitionStartSector = 230895 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 307377,
PartitionSequence = 2, PartitionStartSector = 476847 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 237825,
PartitionSequence = 2, PartitionStartSector = 784287 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 205569,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 25137,
Sequence = 1, Start = 205695 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 245889,
Sequence = 2, Start = 230895 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 307377,
Sequence = 2, Start = 476847 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 237825,
Sequence = 2, Start = 784287 },
},
// PC-DOS 5.00
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 205569,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 25137,
PartitionSequence = 1, PartitionStartSector = 205695 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 245889,
PartitionSequence = 2, PartitionStartSector = 230895 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 287217,
PartitionSequence = 2, PartitionStartSector = 476847 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 257985,
PartitionSequence = 2, PartitionStartSector = 764127 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 205569,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 25137,
Sequence = 1, Start = 205695 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 245889,
Sequence = 2, Start = 230895 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 287217,
Sequence = 2, Start = 476847 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 257985,
Sequence = 2, Start = 764127 },
},
// PC-DOS 6.10
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 205569,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 25137,
PartitionSequence = 1, PartitionStartSector = 205695 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 225729,
PartitionSequence = 2, PartitionStartSector = 230895 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 245889,
PartitionSequence = 2, PartitionStartSector = 456687 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 319473,
PartitionSequence = 2, PartitionStartSector = 702639 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 205569,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 25137,
Sequence = 1, Start = 205695 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 225729,
Sequence = 2, Start = 230895 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 245889,
Sequence = 2, Start = 456687 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 319473,
Sequence = 2, Start = 702639 },
},
// Windows 95
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 205569,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 245889,
PartitionSequence = 1, PartitionStartSector = 205695 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 267057,
PartitionSequence = 2, PartitionStartSector = 451647 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 287217,
PartitionSequence = 2, PartitionStartSector = 718767 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 17073,
PartitionSequence = 2, PartitionStartSector = 1006047 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 205569,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 245889,
Sequence = 1, Start = 205695 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 267057,
Sequence = 2, Start = 451647 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 287217,
Sequence = 2, Start = 718767 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 17073,
Sequence = 2, Start = 1006047 },
},
// Windows 95 OSR 2.5
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 307377,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 245889,
PartitionSequence = 1, PartitionStartSector = 307503 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 328545,
PartitionSequence = 2, PartitionStartSector = 553455 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 102753,
PartitionSequence = 2, PartitionStartSector = 882063 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 21105,
PartitionSequence = 2, PartitionStartSector = 984879 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 17073,
PartitionSequence = 2, PartitionStartSector = 1006047 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 307377,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 245889,
Sequence = 1, Start = 307503 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 328545,
Sequence = 2, Start = 553455 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 102753,
Sequence = 2, Start = 882063 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 21105,
Sequence = 2, Start = 984879 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 17073,
Sequence = 2, Start = 1006047 },
},
// Windows NT 3.10
new []{
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x07", PartitionSectors = 204561,
PartitionSequence = 0, PartitionStartSector = 63 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x07", PartitionSectors = 60480,
PartitionSequence = 1, PartitionStartSector = 962640 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x07", PartitionSectors = 307377,
PartitionSequence = 2, PartitionStartSector = 204687 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 224721,
PartitionSequence = 2, PartitionStartSector = 512127 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x06", PartitionSectors = 214641,
PartitionSequence = 2, PartitionStartSector = 736911 },
new Partition{ PartitionDescription = null, PartitionName = null, PartitionType = "0x01", PartitionSectors = 10017,
PartitionSequence = 2, PartitionStartSector = 951615 },
new Partition{ Description = null, Name = null, Type = "0x07", Length = 204561,
Sequence = 0, Start = 63 },
new Partition{ Description = null, Name = null, Type = "0x07", Length = 60480,
Sequence = 1, Start = 962640 },
new Partition{ Description = null, Name = null, Type = "0x07", Length = 307377,
Sequence = 2, Start = 204687 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 224721,
Sequence = 2, Start = 512127 },
new Partition{ Description = null, Name = null, Type = "0x06", Length = 214641,
Sequence = 2, Start = 736911 },
new Partition{ Description = null, Name = null, Type = "0x01", Length = 10017,
Sequence = 2, Start = 951615 },
},
};
@@ -580,13 +580,13 @@ namespace DiscImageChef.Tests.Partitions
{
// Too chatty
//Assert.AreEqual(wanted[i][j].PartitionDescription, partitions[j].PartitionDescription, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionSectors * 512, partitions[j].PartitionLength, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionName, partitions[j].PartitionName, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionType, partitions[j].PartitionType, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionStartSector * 512, partitions[j].PartitionStart, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionSectors, partitions[j].PartitionSectors, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionSequence, partitions[j].PartitionSequence, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionStartSector, partitions[j].PartitionStartSector, testfiles[i]);
Assert.AreEqual(wanted[i][j].Length * 512, partitions[j].Size, testfiles[i]);
Assert.AreEqual(wanted[i][j].Name, partitions[j].Name, testfiles[i]);
Assert.AreEqual(wanted[i][j].Type, partitions[j].Type, testfiles[i]);
Assert.AreEqual(wanted[i][j].Start * 512, partitions[j].Offset, testfiles[i]);
Assert.AreEqual(wanted[i][j].Length, partitions[j].Length, testfiles[i]);
Assert.AreEqual(wanted[i][j].Sequence, partitions[j].Sequence, testfiles[i]);
Assert.AreEqual(wanted[i][j].Start, partitions[j].Start, testfiles[i]);
}
}
}

View File

@@ -56,14 +56,14 @@ namespace DiscImageChef.Tests.Partitions
readonly Partition[][] wanted = {
// Parted
new []{
new Partition{ PartitionDescription = null, PartitionLength = 268369408, PartitionName = null, PartitionType = "MINIX", PartitionStart = 2064896, PartitionSectors = 524159,
PartitionSequence = 0, PartitionStartSector = 4033 },
new Partition{ PartitionDescription = null, PartitionLength = 270434304, PartitionName = null, PartitionType = "MINIX", PartitionStart = 270434304, PartitionSectors = 528192,
PartitionSequence = 1, PartitionStartSector = 528192 },
new Partition{ PartitionDescription = null, PartitionLength = 270434304, PartitionName = null, PartitionType = "MINIX", PartitionStart = 540868608, PartitionSectors = 528192,
PartitionSequence = 2, PartitionStartSector = 1056384 },
new Partition{ PartitionDescription = null, PartitionLength = 262176768, PartitionName = null, PartitionType = "MINIX", PartitionStart = 811302912, PartitionSectors = 512064,
PartitionSequence = 2, PartitionStartSector = 1584576 },
new Partition{ Description = null, Size = 268369408, Name = null, Type = "MINIX", Offset = 2064896, Length = 524159,
Sequence = 0, Start = 4033 },
new Partition{ Description = null, Size = 270434304, Name = null, Type = "MINIX", Offset = 270434304, Length = 528192,
Sequence = 1, Start = 528192 },
new Partition{ Description = null, Size = 270434304, Name = null, Type = "MINIX", Offset = 540868608, Length = 528192,
Sequence = 2, Start = 1056384 },
new Partition{ Description = null, Size = 262176768, Name = null, Type = "MINIX", Offset = 811302912, Length = 512064,
Sequence = 2, Start = 1584576 },
},
};

View File

@@ -57,12 +57,12 @@ namespace DiscImageChef.Tests.Partitions
readonly Partition[][] wanted = {
// Parted
new []{
new Partition{ PartitionDescription = null, PartitionLength = 38797312, PartitionName = null, PartitionType = "???", PartitionStart = 1048576, PartitionSectors = 75776,
PartitionSequence = 0, PartitionStartSector = 2048 },
new Partition{ PartitionDescription = null, PartitionLength = 19922944, PartitionName = null, PartitionType = "???", PartitionStart = 40894464, PartitionSectors = 38912,
PartitionSequence = 1, PartitionStartSector = 79872 },
new Partition{ PartitionDescription = null, PartitionLength = 48234496, PartitionName = null, PartitionType = "???", PartitionStart = 61865984, PartitionSectors = 94208,
PartitionSequence = 2, PartitionStartSector = 120832 },
new Partition{ Description = null, Size = 38797312, Name = null, Type = "???", Offset = 1048576, Length = 75776,
Sequence = 0, Start = 2048 },
new Partition{ Description = null, Size = 19922944, Name = null, Type = "???", Offset = 40894464, Length = 38912,
Sequence = 1, Start = 79872 },
new Partition{ Description = null, Size = 48234496, Name = null, Type = "???", Offset = 61865984, Length = 94208,
Sequence = 2, Start = 120832 },
},
};
@@ -83,13 +83,13 @@ namespace DiscImageChef.Tests.Partitions
{
// Too chatty
//Assert.AreEqual(wanted[i][j].PartitionDescription, partitions[j].PartitionDescription, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionLength, partitions[j].PartitionLength, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionName, partitions[j].PartitionName, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionType, partitions[j].PartitionType, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionStart, partitions[j].PartitionStart, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionSectors, partitions[j].PartitionSectors, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionSequence, partitions[j].PartitionSequence, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionStartSector, partitions[j].PartitionStartSector, testfiles[i]);
Assert.AreEqual(wanted[i][j].Size, partitions[j].Size, testfiles[i]);
Assert.AreEqual(wanted[i][j].Name, partitions[j].Name, testfiles[i]);
Assert.AreEqual(wanted[i][j].Type, partitions[j].Type, testfiles[i]);
Assert.AreEqual(wanted[i][j].Offset, partitions[j].Offset, testfiles[i]);
Assert.AreEqual(wanted[i][j].Length, partitions[j].Length, testfiles[i]);
Assert.AreEqual(wanted[i][j].Sequence, partitions[j].Sequence, testfiles[i]);
Assert.AreEqual(wanted[i][j].Start, partitions[j].Start, testfiles[i]);
}
}
}

View File

@@ -57,42 +57,42 @@ namespace DiscImageChef.Tests.Partitions
readonly Partition[][] wanted = {
// AmigaOS 3.9
new []{
new Partition{ PartitionDescription = null, PartitionLength = 87392256, PartitionName = "UDH0", PartitionType = "\"DOS\\0\"", PartitionStart = 2080768, PartitionSectors = 170688,
PartitionSequence = 0, PartitionStartSector = 4064 },
new Partition{ PartitionDescription = null, PartitionLength = 87392256, PartitionName = "UDH1", PartitionType = "\"DOS\\2\"", PartitionStart = 89473024, PartitionSectors = 170688,
PartitionSequence = 1, PartitionStartSector = 174752 },
new Partition{ PartitionDescription = null, PartitionLength = 87392256, PartitionName = "UDH2", PartitionType = "\"DOS\\1\"", PartitionStart = 176865280, PartitionSectors = 170688,
PartitionSequence = 2, PartitionStartSector = 345440 },
new Partition{ PartitionDescription = null, PartitionLength = 87392256, PartitionName = "UDH3", PartitionType = "\"DOS\\3\"", PartitionStart = 264257536, PartitionSectors = 170688,
PartitionSequence = 3, PartitionStartSector = 516128 },
new Partition{ PartitionDescription = null, PartitionLength = 87392256, PartitionName = "UDH4", PartitionType = "\"RES\\86\"", PartitionStart = 351649792, PartitionSectors = 170688,
PartitionSequence = 4, PartitionStartSector = 686816 },
new Partition{ PartitionDescription = null, PartitionLength = 85311488, PartitionName = "UDH5", PartitionType = "\"RES\\86\"", PartitionStart = 439042048, PartitionSectors = 166624,
PartitionSequence = 5, PartitionStartSector = 857504 },
new Partition{ Description = null, Size = 87392256, Name = "UDH0", Type = "\"DOS\\0\"", Offset = 2080768, Length = 170688,
Sequence = 0, Start = 4064 },
new Partition{ Description = null, Size = 87392256, Name = "UDH1", Type = "\"DOS\\2\"", Offset = 89473024, Length = 170688,
Sequence = 1, Start = 174752 },
new Partition{ Description = null, Size = 87392256, Name = "UDH2", Type = "\"DOS\\1\"", Offset = 176865280, Length = 170688,
Sequence = 2, Start = 345440 },
new Partition{ Description = null, Size = 87392256, Name = "UDH3", Type = "\"DOS\\3\"", Offset = 264257536, Length = 170688,
Sequence = 3, Start = 516128 },
new Partition{ Description = null, Size = 87392256, Name = "UDH4", Type = "\"RES\\86\"", Offset = 351649792, Length = 170688,
Sequence = 4, Start = 686816 },
new Partition{ Description = null, Size = 85311488, Name = "UDH5", Type = "\"RES\\86\"", Offset = 439042048, Length = 166624,
Sequence = 5, Start = 857504 },
},
// AmigaOS 4.0
new []{
new Partition{ PartitionDescription = null, PartitionLength = 91455488, PartitionName = "DH1", PartitionType = "\"DOS\\1\"", PartitionStart = 1048576, PartitionSectors = 178624,
PartitionSequence = 0, PartitionStartSector = 2048 },
new Partition{ PartitionDescription = null, PartitionLength = 76546048, PartitionName = "DH2", PartitionType = "\"DOS\\3\"", PartitionStart = 92504064, PartitionSectors = 149504,
PartitionSequence = 1, PartitionStartSector = 180672 },
new Partition{ PartitionDescription = null, PartitionLength = 78741504, PartitionName = "DH3", PartitionType = "\"DOS\\3\"", PartitionStart = 169050112, PartitionSectors = 153792,
PartitionSequence = 2, PartitionStartSector = 330176 },
new Partition{ PartitionDescription = null, PartitionLength = 78020608, PartitionName = "DH4", PartitionType = "\"DOS\\7\"", PartitionStart = 247791616, PartitionSectors = 152384,
PartitionSequence = 3, PartitionStartSector = 483968 },
new Partition{ PartitionDescription = null, PartitionLength = 85000192, PartitionName = "DH5", PartitionType = "\"SFS\\0\"", PartitionStart = 325812224, PartitionSectors = 166016,
PartitionSequence = 4, PartitionStartSector = 636352 },
new Partition{ PartitionDescription = null, PartitionLength = 113541120, PartitionName = "DH6", PartitionType = "\"SFS\\2\"", PartitionStart = 410812416, PartitionSectors = 221760,
PartitionSequence = 5, PartitionStartSector = 802368 },
new Partition{ Description = null, Size = 91455488, Name = "DH1", Type = "\"DOS\\1\"", Offset = 1048576, Length = 178624,
Sequence = 0, Start = 2048 },
new Partition{ Description = null, Size = 76546048, Name = "DH2", Type = "\"DOS\\3\"", Offset = 92504064, Length = 149504,
Sequence = 1, Start = 180672 },
new Partition{ Description = null, Size = 78741504, Name = "DH3", Type = "\"DOS\\3\"", Offset = 169050112, Length = 153792,
Sequence = 2, Start = 330176 },
new Partition{ Description = null, Size = 78020608, Name = "DH4", Type = "\"DOS\\7\"", Offset = 247791616, Length = 152384,
Sequence = 3, Start = 483968 },
new Partition{ Description = null, Size = 85000192, Name = "DH5", Type = "\"SFS\\0\"", Offset = 325812224, Length = 166016,
Sequence = 4, Start = 636352 },
new Partition{ Description = null, Size = 113541120, Name = "DH6", Type = "\"SFS\\2\"", Offset = 410812416, Length = 221760,
Sequence = 5, Start = 802368 },
},
// Parted
new []{
new Partition{ PartitionDescription = null, PartitionLength = 8225280, PartitionName = "primary", PartitionType = "\"\0\0\0\\0\"", PartitionStart = 8225280, PartitionSectors = 16065,
PartitionSequence = 0, PartitionStartSector = 16065 },
new Partition{ PartitionDescription = null, PartitionLength = 24675840, PartitionName = "name", PartitionType = "\"FAT\\1\"", PartitionStart = 16450560, PartitionSectors = 48195,
PartitionSequence = 1, PartitionStartSector = 32130 },
new Partition{ PartitionDescription = null, PartitionLength = 90478080, PartitionName = "partition", PartitionType = "\"\0\0\0\\0\"", PartitionStart = 41126400, PartitionSectors = 176715,
PartitionSequence = 2, PartitionStartSector = 80325 },
new Partition{ Description = null, Size = 8225280, Name = "primary", Type = "\"\0\0\0\\0\"", Offset = 8225280, Length = 16065,
Sequence = 0, Start = 16065 },
new Partition{ Description = null, Size = 24675840, Name = "name", Type = "\"FAT\\1\"", Offset = 16450560, Length = 48195,
Sequence = 1, Start = 32130 },
new Partition{ Description = null, Size = 90478080, Name = "partition", Type = "\"\0\0\0\\0\"", Offset = 41126400, Length = 176715,
Sequence = 2, Start = 80325 },
},
};
@@ -113,13 +113,13 @@ namespace DiscImageChef.Tests.Partitions
{
// Too chatty
//Assert.AreEqual(wanted[i][j].PartitionDescription, partitions[j].PartitionDescription, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionLength, partitions[j].PartitionLength, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionName, partitions[j].PartitionName, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionType, partitions[j].PartitionType, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionStart, partitions[j].PartitionStart, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionSectors, partitions[j].PartitionSectors, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionSequence, partitions[j].PartitionSequence, testfiles[i]);
Assert.AreEqual(wanted[i][j].PartitionStartSector, partitions[j].PartitionStartSector, testfiles[i]);
Assert.AreEqual(wanted[i][j].Size, partitions[j].Size, testfiles[i]);
Assert.AreEqual(wanted[i][j].Name, partitions[j].Name, testfiles[i]);
Assert.AreEqual(wanted[i][j].Type, partitions[j].Type, testfiles[i]);
Assert.AreEqual(wanted[i][j].Offset, partitions[j].Offset, testfiles[i]);
Assert.AreEqual(wanted[i][j].Length, partitions[j].Length, testfiles[i]);
Assert.AreEqual(wanted[i][j].Sequence, partitions[j].Sequence, testfiles[i]);
Assert.AreEqual(wanted[i][j].Start, partitions[j].Start, testfiles[i]);
}
}
}