mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
part_block: add partition type to log message
This commit is contained in:
parent
188a214a29
commit
b609411e76
@ -342,7 +342,7 @@ class Block::Gpt : public Block::Partition_table
|
||||
|
||||
_part_list[i].construct(start, length);
|
||||
|
||||
log("Partition ", i + 1, ": LBA ", start, " (", length,
|
||||
log("GPT Partition ", i + 1, ": LBA ", start, " (", length,
|
||||
" blocks) type: '", e.type(),
|
||||
"' name: '", e, "'");
|
||||
}
|
||||
|
@ -192,7 +192,7 @@ struct Block::Mbr_partition_table : public Block::Partition_table
|
||||
bool const mbr_valid = mbr.valid();
|
||||
if (mbr_valid) {
|
||||
_parse_mbr(mbr, [&] (int i, Partition_record const &r, unsigned offset) {
|
||||
log("Partition ", i, ": LBA ",
|
||||
log("MBR Partition ", i, ": LBA ",
|
||||
r.lba() + offset, " (",
|
||||
r.sectors(), " blocks) type: ",
|
||||
Hex(r.type(), Hex::OMIT_PREFIX));
|
||||
|
Loading…
Reference in New Issue
Block a user