diff --git a/Utilities/DiskDump/Program.cs b/Utilities/DiskDump/Program.cs index a0b18ead4..67524ca4e 100644 --- a/Utilities/DiskDump/Program.cs +++ b/Utilities/DiskDump/Program.cs @@ -203,7 +203,7 @@ protected override void DoRun() foreach (var vol in volMgr.GetLogicalVolumes()) { Console.WriteLine($" {vol.Identity}"); - Console.WriteLine($" BIOS Type: {vol.BiosType:X2} [{BiosPartitionTypes.ToString(vol.BiosType)}]"); + Console.WriteLine($" BIOS Type: {vol.BiosType:X2} [{BiosPartitionTypes.ToString(vol.BiosType)}] {vol.TypeAsString}"); Console.WriteLine($" Status: {vol.Status}"); Console.WriteLine($" Size: {vol.Length}"); Console.WriteLine($" Disk Geometry: {vol.PhysicalGeometry}"); @@ -273,7 +273,8 @@ protected override void DoRun() { Console.WriteLine($" {fsi.Name} Volume Label: {fs.VolumeLabel}"); Console.WriteLine($" Files ({fsi.Name})..."); - ShowDir(fs.Root, 6); + if (fs.Root.Exists) + ShowDir(fs.Root, 6); } Console.WriteLine();