mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Use generic method to search for partitions, supporting
partitions inside partitions. At the same time SGI DVH is disabled because it is not working correctly. Fixes #60
This commit is contained in:
@@ -82,14 +82,14 @@ namespace DiscImageChef.PartPlugins
|
||||
PluginUUID = new Guid("50F35CC4-8375-4445-8DCB-1BA550C931A3");
|
||||
}
|
||||
|
||||
public override bool GetInformation(ImagePlugins.ImagePlugin imagePlugin, out List<CommonTypes.Partition> partitions)
|
||||
public override bool GetInformation(ImagePlugins.ImagePlugin imagePlugin, out List<CommonTypes.Partition> partitions, ulong sectorOffset)
|
||||
{
|
||||
partitions = new List<CommonTypes.Partition>();
|
||||
|
||||
if(imagePlugin.GetSectorSize() < 512)
|
||||
return false;
|
||||
|
||||
byte[] sunSector = imagePlugin.ReadSector(0);
|
||||
byte[] sunSector = imagePlugin.ReadSector(sectorOffset);
|
||||
byte[] tmpString;
|
||||
SunDiskLabel sdl = new SunDiskLabel
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user