aboutsummaryrefslogtreecommitdiffstats
path: root/src/show.c
blob: 20decd1876261f86a437b72068e642c7bb2c60e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "project.h"



void
show (DISK * d)
{
  MBR *m;
  GPT_headers h;
  GPT_entry *e;

  uint8_t buf[512];

  disk_read (d, buf, 0, 1);
  m = (MBR *) buf;
  mbr_show (m);

  h=headers_get(d);
  header_show (d, &h.header);

  header_show (d, &h.alt_header);

}