mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Detect SparQ media in ATA drive.
This commit is contained in:
@@ -1685,8 +1685,8 @@ namespace DiscImageChef.CommonTypes
|
||||
return MediaType.Unknown;
|
||||
}
|
||||
|
||||
public static MediaType
|
||||
GetFromAta(string manufacturer, string model, bool removable, bool compactFlash, bool pcmcia, ulong blocks, uint blockSize)
|
||||
public static MediaType GetFromAta(string manufacturer, string model, bool removable, bool compactFlash,
|
||||
bool pcmcia, ulong blocks, uint blockSize)
|
||||
{
|
||||
if(!removable)
|
||||
{
|
||||
@@ -1696,6 +1696,11 @@ namespace DiscImageChef.CommonTypes
|
||||
return pcmcia ? MediaType.PCCardTypeI : MediaType.GENERIC_HDD;
|
||||
}
|
||||
|
||||
if(manufacturer.ToLowerInvariant() == "syquest" &&
|
||||
model.ToLowerInvariant() == "sparq" &&
|
||||
blocks == 1961069)
|
||||
return MediaType.SparQ;
|
||||
|
||||
return MediaType.Unknown;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user