aboutsummaryrefslogtreecommitdiffstats
path: root/src/show.c
blob: aa1123a6441e75561f1038044912747860342218 (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);

}