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:
parent
46f38a7d4b
commit
518772739f
@ -370,6 +370,14 @@ dprintf("get_boot_partitions(): boot method type: %ld\n", bootMethodType);
|
||||
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 {
|
||||
BootPartitionVisitor(BootMethod* bootMethod, PartitionStack &stack)
|
||||
: fPartitions(stack),
|
||||
|
Loading…
Reference in New Issue
Block a user