summaryrefslogtreecommitdiffstats
path: root/sys/geom/notes
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-03-23 10:08:13 +0000
committerphk <phk@FreeBSD.org>2003-03-23 10:08:13 +0000
commite6351bec2e65d2ec04b1f196bacc8d2743524165 (patch)
treedfdc8a56f28960cdb8cd98a4693345fedda50222 /sys/geom/notes
parent3413b5f1fec2bbab466324edbc3dcf7358462771 (diff)
downloadFreeBSD-src-e6351bec2e65d2ec04b1f196bacc8d2743524165.zip
FreeBSD-src-e6351bec2e65d2ec04b1f196bacc8d2743524165.tar.gz
A note about which #include files may be used where.
Diffstat (limited to 'sys/geom/notes')
-rw-r--r--sys/geom/notes22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/geom/notes b/sys/geom/notes
index 9e674f7..3b0f811 100644
--- a/sys/geom/notes
+++ b/sys/geom/notes
@@ -116,3 +116,25 @@ If the clustering code wants to widen a request which writes to
sector#53 of the slice, it can calculate how many bytes till the end of
the stripe as:
stripewith - (53 * sectorsize + stripeoffset) % stripewidth.
+-----------------------------------------------------------------------
+
+#include file usage:
+
+ geom.h|geom_int.h|geom_ext.h|geom_ctl.h|libgeom.h
+----------------+------+----------+----------+----------+--------+
+geom class | | | | | |
+implementation | X | | | | |
+----------------+------+----------+----------+----------+--------+
+geom kernel | | | | | |
+infrastructure | X | X | X | X | |
+----------------+------+----------+----------+----------+--------+
+libgeom | | | | | |
+implementation | | | X | X | X |
+----------------+------+----------+----------+----------+--------+
+geom aware | | | | | |
+application | | | | X | X |
+----------------+------+----------+----------+----------+--------+
+
+geom_slice.h is special in that it documents a "library" for implementing
+a specific kind of class, and consequently does not appear in the above
+matrix.
OpenPOWER on IntegriCloud