summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/write_disk.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-04-29 07:21:14 +0000
committerphk <phk@FreeBSD.org>1995-04-29 07:21:14 +0000
commit9684e60aa333602d99d67bf4386e5ea09dd26530 (patch)
treefa70e13b20375cea9c33bb00b43511f4b3042b5e /lib/libdisk/write_disk.c
parent5cc2dacd0f6917d2ba5808d3171283232acad395 (diff)
downloadFreeBSD-src-9684e60aa333602d99d67bf4386e5ea09dd26530.zip
FreeBSD-src-9684e60aa333602d99d67bf4386e5ea09dd26530.tar.gz
Names are assigned when chunks are created.
Rules for only one fat & one extended in MBR.
Diffstat (limited to 'lib/libdisk/write_disk.c')
-rw-r--r--lib/libdisk/write_disk.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/libdisk/write_disk.c b/lib/libdisk/write_disk.c
new file mode 100644
index 0000000..aa71905
--- /dev/null
+++ b/lib/libdisk/write_disk.c
@@ -0,0 +1,34 @@
+/*
+ * ----------------------------------------------------------------------------
+ * "THE BEER-WARE LICENSE" (Revision 42):
+ * <phk@login.dknet.dk> wrote this file. As long as you retain this notice you
+ * can do whatever you want with this stuff. If we meet some day, and you think
+ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
+ * ----------------------------------------------------------------------------
+ *
+ * $Id$
+ *
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <string.h>
+#include <err.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <sys/ioctl.h>
+#include <sys/disklabel.h>
+#include <sys/diskslice.h>
+#include "libdisk.h"
+
+#define DOSPTYP_EXTENDED 5
+#define DOSPTYP_ONTRACK 84
+
+int
+Write_Disk(struct disk *d1)
+{
+ return 0;
+}
+
OpenPOWER on IntegriCloud