mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Do not try to find SCSI read command if the medium is not written. Fixes #458
This commit is contained in:
@@ -61,6 +61,9 @@ namespace Aaru.Core.Devices
|
||||
if(Blocks == 0)
|
||||
GetDeviceBlocks();
|
||||
|
||||
if(Blocks == 0)
|
||||
return true;
|
||||
|
||||
byte[] senseBuf;
|
||||
int tries = 0;
|
||||
uint lba = 0;
|
||||
|
||||
Reference in New Issue
Block a user