diff options
author | trasz <trasz@FreeBSD.org> | 2010-01-16 09:52:49 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2010-01-16 09:52:49 +0000 |
commit | ba210e8afeaa37ea1ef734f819f57abf75cb7689 (patch) | |
tree | 3bef182e899e3697932906bcc31d2d884a9fa374 /sys/modules/geom | |
parent | 6f0cf58bd4ad9308502d67c772aeb20220970936 (diff) | |
download | FreeBSD-src-ba210e8afeaa37ea1ef734f819f57abf75cb7689.zip FreeBSD-src-ba210e8afeaa37ea1ef734f819f57abf75cb7689.tar.gz |
Add gmountver, disk mount verification GEOM class.
Note that due to e.g. write throttling ('wdrain'), it can stall all the disk
I/O instead of just the device it's configured for. Using it for removable
media is therefore not a good idea.
Reviewed by: pjd (earlier version)
Diffstat (limited to 'sys/modules/geom')
-rw-r--r-- | sys/modules/geom/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/geom/geom_mountver/Makefile | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/sys/modules/geom/Makefile b/sys/modules/geom/Makefile index 183e46e..abce379 100644 --- a/sys/modules/geom/Makefile +++ b/sys/modules/geom/Makefile @@ -13,6 +13,7 @@ SUBDIR= geom_bde \ geom_linux_lvm \ geom_mbr \ geom_mirror \ + geom_mountver \ geom_multipath \ geom_nop \ geom_part \ diff --git a/sys/modules/geom/geom_mountver/Makefile b/sys/modules/geom/geom_mountver/Makefile new file mode 100644 index 0000000..8e89c9a --- /dev/null +++ b/sys/modules/geom/geom_mountver/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../geom/mountver + +KMOD= geom_mountver +SRCS= g_mountver.c + +.include <bsd.kmod.mk> |