#include "project.h" void show(DISK *d) { MBR *m; GPT_header *h; GPT_entry *e; uint8_t buf[512]; disk_read(d,buf,0,1); m=(MBR *)buf; mbr_show(m); disk_read(d,buf,1,1); h=(GPT_header *)buf; header_show(d,h); disk_read(d,buf,disk_lbas(d)-1,1); h=(GPT_header *)buf; header_show(d,h); }