digraph {
rankdir=LR;
node [shape=plaintext];
subgraph cluster__mbr_partition_table {
label="MbrPartitionTable";
graph[style=dotted];
mbr_partition_table__seq [label=<
pos | size | type | id |
0 | 446 | | bootstrap_code |
446 | 16 | PartitionEntry | partitions |
repeat 4 times |
510 | 2 | | boot_signature |
>];
subgraph cluster__partition_entry {
label="MbrPartitionTable::PartitionEntry";
graph[style=dotted];
partition_entry__seq [label=<
pos | size | type | id |
0 | 1 | u1 | status |
1 | 3 | Chs | chs_start |
4 | 1 | u1 | partition_type |
5 | 3 | Chs | chs_end |
8 | 4 | u4le | lba_start |
12 | 4 | u4le | num_sectors |
>];
}
subgraph cluster__chs {
label="MbrPartitionTable::Chs";
graph[style=dotted];
chs__seq [label=<
pos | size | type | id |
0 | 1 | u1 | head |
1 | 1 | u1 | b2 |
2 | 1 | u1 | b3 |
>];
chs__inst__sector [label=<>];
chs__inst__cylinder [label=<
id | value |
cylinder | (b3 + ((b2 & 192) << 2)) |
>];
}
}
mbr_partition_table__seq:partitions_type -> partition_entry__seq [style=bold];
partition_entry__seq:chs_start_type -> chs__seq [style=bold];
partition_entry__seq:chs_end_type -> chs__seq [style=bold];
chs__seq:b2_type -> chs__inst__sector [color="#404040"];
chs__seq:b3_type -> chs__inst__cylinder [color="#404040"];
chs__seq:b2_type -> chs__inst__cylinder [color="#404040"];
}