summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-12-12 22:00:05 +0000
committerdes <des@FreeBSD.org>2000-12-12 22:00:05 +0000
commitfa5b3395bfc9a5dc940c418831e93dfdcb9a7550 (patch)
tree5c0da8eb7e2d1a7b5fe5822ad6e588436b4f373a /sys/modules
parentd21fbe84b8504e2b5398c7384e95d23c65c86b28 (diff)
downloadFreeBSD-src-fa5b3395bfc9a5dc940c418831e93dfdcb9a7550.zip
FreeBSD-src-fa5b3395bfc9a5dc940c418831e93dfdcb9a7550.tar.gz
The linprocfs sources have moved to sys/compat/linprocfs.
Diffstat (limited to 'sys/modules')
-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 187195c..e69f3ce 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>
OpenPOWER on IntegriCloud