From aded89c1b1db4cfdff1370be82fd026b40b66bdd Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 28 Apr 1995 23:57:04 +0000 Subject: This is a revision 0.00 of the backend stuff for the fdisk/disklabel stuff in the new sysinstall. If you want to give a helping hand, then send email to phk@FreeBSD.ORG. DO NOT COMMIT TO THIS DIRECTORY! --- lib/libdisk/create_chunk.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lib/libdisk/create_chunk.c (limited to 'lib/libdisk/create_chunk.c') diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c new file mode 100644 index 000000000000..6664820b80b4 --- /dev/null +++ b/lib/libdisk/create_chunk.c @@ -0,0 +1,26 @@ +/* + * ---------------------------------------------------------------------------- + * "THE BEER-WARE LICENSE" (Revision 42): + * 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 +#include +#include +#include +#include +#include +#include +#include "libdisk.h" + +int +Create_Chunk(struct disk *d, u_long offset, u_long size, chunk_e type, int subtype, u_long flags) +{ + return Add_Chunk(d,offset,size,"X",type,subtype,flags); +} -- cgit v1.2.3