mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Correctly store all bad sectors, not just first one on run.
This commit is contained in:
@@ -353,7 +353,8 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
// TODO: Record error on mapfile
|
||||
|
||||
errored += blocksToRead;
|
||||
unreadableSectors.Add(i);
|
||||
for(ulong b = i; b < i + blocksToRead; b++)
|
||||
unreadableSectors.Add(b);
|
||||
if(cmdDuration < 500)
|
||||
mhddLog.Write(i, 65535);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user