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

}