summaryrefslogtreecommitdiff
path: root/sys/modules/linprocfs
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2000-12-12 22:00:05 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2000-12-12 22:00:05 +0000
commit190a3b2513a463d40cf965da3fa10b21dc1cfe7e (patch)
treee8218cb417f9ccc6ec8c0be4253871c3f1eb8fca /sys/modules/linprocfs
parent1426b70df82bb5119af5f039e8cf654f5f439805 (diff)
Notes
Diffstat (limited to 'sys/modules/linprocfs')
-rw-r--r--sys/modules/linprocfs/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/modules/linprocfs/Makefile b/sys/modules/linprocfs/Makefile
index 187195c0867f..e69f3ceb3b35 100644
--- a/sys/modules/linprocfs/Makefile
+++ b/sys/modules/linprocfs/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../i386/linux/linprocfs
+.PATH: ${.CURDIR}/../../compat/linprocfs
KMOD= linprocfs
SRCS= vnode_if.h linprocfs_misc.c linprocfs_subr.c \
linprocfs_vfsops.c linprocfs_vnops.c
@@ -8,4 +8,14 @@ NOMAN=
VFS_KLD=
CFLAGS+= -DLINPROCFS
+test: unload install load
+
+load:
+ kldload ${KMOD}
+ mount /compat/linux/proc
+
+unload:
+ -umount /compat/linux/proc
+ kldunload ${KMOD}
+
.include <bsd.kmod.mk>