dump all found devices and partitions to serial debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23161 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -370,6 +370,14 @@ dprintf("get_boot_partitions(): boot method type: %ld\n", bootMethodType);
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (1 /* dump devices and partitions */) {
|
||||||
|
KDiskDevice *device;
|
||||||
|
int32 cookie = 0;
|
||||||
|
while ((device = manager->NextDevice(&cookie)) != NULL) {
|
||||||
|
device->Dump(true, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
struct BootPartitionVisitor : KPartitionVisitor {
|
struct BootPartitionVisitor : KPartitionVisitor {
|
||||||
BootPartitionVisitor(BootMethod* bootMethod, PartitionStack &stack)
|
BootPartitionVisitor(BootMethod* bootMethod, PartitionStack &stack)
|
||||||
: fPartitions(stack),
|
: fPartitions(stack),
|
||||||
|
|||||||
Reference in New Issue
Block a user