From cb08c2cc8318d1efcb68303861ebb89f4f73c1f3 Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Fri, 25 Feb 2011 10:24:35 +0000 Subject: 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 --- sys/geom/geom_vol_ffs.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/geom/geom_vol_ffs.c') diff --git a/sys/geom/geom_vol_ffs.c b/sys/geom/geom_vol_ffs.c index c21b1b6c81f5..4fa4da599893 100644 --- a/sys/geom/geom_vol_ffs.c +++ b/sys/geom/geom_vol_ffs.c @@ -30,6 +30,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include @@ -42,6 +43,8 @@ __FBSDID("$FreeBSD$"); #include #include +FEATURE(geom_vol, "GEOM support for volume names from UFS superblock"); + #define VOL_FFS_CLASS_NAME "VOL_FFS" static int superblocks[] = SBLOCKSEARCH; -- cgit v1.2.3