summaryrefslogtreecommitdiffstats
path: root/partx/dos.h
diff options
context:
space:
mode:
Diffstat (limited to 'partx/dos.h')
-rw-r--r--partx/dos.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/partx/dos.h b/partx/dos.h
new file mode 100644
index 000000000..429f3d391
--- /dev/null
+++ b/partx/dos.h
@@ -0,0 +1,13 @@
+#ifndef DOS_H_INCLUDED
+#define DOS_H_INCLUDED
+
+struct partition {
+ unsigned char boot_ind; /* 0x80 - active */
+ unsigned char bh, bs, bc;
+ unsigned char sys_type;
+ unsigned char eh, es, ec;
+ unsigned int start_sect;
+ unsigned int nr_sects;
+};
+
+#endif /* DOS_H_INCLUDED */