diff options
author | netchild <netchild@FreeBSD.org> | 2011-02-25 10:24:35 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2011-02-25 10:24:35 +0000 |
commit | 6bf702a55bf6e540929bc37a97ba26e51394a94c (patch) | |
tree | 9d3d4c4ac744558b0f121bc95130f956f192c80f /sys/geom/geom_bsd.c | |
parent | cc4128c6b1ffcb09a70e70959874cc2bb6e81d0e (diff) | |
download | FreeBSD-src-6bf702a55bf6e540929bc37a97ba26e51394a94c.zip FreeBSD-src-6bf702a55bf6e540929bc37a97ba26e51394a94c.tar.gz |
Add some FEATURE macros for various GEOM classes.
No FreeBSD version bump, the userland application to query the features will
be committed last and can serve as an indication of the availablility if
needed.
Sponsored by: Google Summer of Code 2010
Submitted by: kibab
Reviewed by: silence on geom@ during 2 weeks
X-MFC after: to be determined in last commit with code from this project
Diffstat (limited to 'sys/geom/geom_bsd.c')
-rw-r--r-- | sys/geom/geom_bsd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/geom/geom_bsd.c b/sys/geom/geom_bsd.c index 7c3d227..c5b9252 100644 --- a/sys/geom/geom_bsd.c +++ b/sys/geom/geom_bsd.c @@ -45,6 +45,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/endian.h> #include <sys/systm.h> +#include <sys/sysctl.h> #include <sys/kernel.h> #include <sys/fcntl.h> #include <sys/conf.h> @@ -60,6 +61,8 @@ __FBSDID("$FreeBSD$"); #include <geom/geom.h> #include <geom/geom_slice.h> +FEATURE(geom_bsd, "GEOM BSD disklabels support"); + #define BSD_CLASS_NAME "BSD" #define ALPHA_LABEL_OFFSET 64 |