mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Show absolute LBA in verify image with tracks.
This commit is contained in:
@@ -34,6 +34,7 @@ using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using Aaru.CommonTypes;
|
||||
using Aaru.CommonTypes.Enums;
|
||||
@@ -277,9 +278,9 @@ sealed class VerifyCommand : Command<VerifyCommand.Settings>
|
||||
mediaGraph.PaintSectorBad(currentTrack.StartSector + f);
|
||||
}
|
||||
|
||||
failingLbas.AddRange(tempFailingLbas);
|
||||
failingLbas.AddRange(tempFailingLbas.Select(f => currentTrack.StartSector + f));
|
||||
|
||||
unknownLbas.AddRange(tempUnknownLbas);
|
||||
unknownLbas.AddRange(tempUnknownLbas.Select(u => currentTrack.StartSector + u));
|
||||
|
||||
if(remainingSectors < 512)
|
||||
{
|
||||
@@ -398,16 +399,18 @@ sealed class VerifyCommand : Command<VerifyCommand.Settings>
|
||||
if(failingLbas.Count == (int)inputFormat.Info.Sectors)
|
||||
AaruLogging.Verbose($"\t[red]{UI.all_sectors}[/]");
|
||||
else
|
||||
foreach(ulong t in failingLbas)
|
||||
AaruLogging.Verbose("\t{0}", t);
|
||||
{
|
||||
foreach(ulong t in failingLbas) AaruLogging.Verbose("\t{0}", t);
|
||||
}
|
||||
|
||||
AaruLogging.WriteLine($"[yellow3_1]{UI.LBAs_without_checksum}[/]");
|
||||
|
||||
if(unknownLbas.Count == (int)inputFormat.Info.Sectors)
|
||||
AaruLogging.Verbose($"\t[yellow3_1]{UI.all_sectors}[/]");
|
||||
else
|
||||
foreach(ulong t in unknownLbas)
|
||||
AaruLogging.Verbose("\t{0}", t);
|
||||
{
|
||||
foreach(ulong t in unknownLbas) AaruLogging.Verbose("\t{0}", t);
|
||||
}
|
||||
}
|
||||
|
||||
var table = new Table();
|
||||
|
||||
Reference in New Issue
Block a user