summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/libdisk.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-05-10 05:57:04 +0000
committerphk <phk@FreeBSD.org>1995-05-10 05:57:04 +0000
commitb06a2da1188043774a21f325c65893b1dd1937ba (patch)
treea7a3e845ea2cb1759f8334a843c91f607580ff3b /lib/libdisk/libdisk.h
parentf900359daa37c3aa08178cd6a7f487d8bdde66ac (diff)
downloadFreeBSD-src-b06a2da1188043774a21f325c65893b1dd1937ba.zip
FreeBSD-src-b06a2da1188043774a21f325c65893b1dd1937ba.tar.gz
Create_Chunk_DWIM() is here, though it doesn't quite do what the name implies.
Diffstat (limited to 'lib/libdisk/libdisk.h')
-rw-r--r--lib/libdisk/libdisk.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libdisk/libdisk.h b/lib/libdisk/libdisk.h
index 728fc24..767bec0 100644
--- a/lib/libdisk/libdisk.h
+++ b/lib/libdisk/libdisk.h
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: libdisk.h,v 1.13 1995/05/06 03:28:30 phk Exp $
+ * $Id: libdisk.h,v 1.14 1995/05/08 02:08:30 phk Exp $
*
*/
@@ -199,6 +199,13 @@ Prev_Track_Aligned(struct disk *d, u_long offset);
* bios geometry
*/
+struct chunk *
+Create_Chunk_DWIM(struct disk *d, struct chunk *parent , u_long size, chunk_e type, int subtype, u_long flags);
+ /* This one creates a partition inside the given parent of the given
+ * size, and returns a pointer to it. The first unused chunk big
+ * enough is used.
+ */
+
/*
* Implementation details >>> DO NOT USE <<<
*/
OpenPOWER on IntegriCloud