Skip site navigation (1)Skip section navigation (2)
Date:      22 Jun 2000 03:35:01 +0200
From:      Assar Westerlund <assar@sics.se>
To:        current@freebsd.org
Cc:        kris@freebsd.org
Subject:   vnode_if.h: how should it be done ?
Message-ID:  <5ln1kesdkq.fsf@assaris.sics.se>

next in thread | raw e-mail | index | archive | help
I think it's wrong that vnode_if.h is not installed, this means that
you need to have kernel source to compile any third-party file system.

So I propose the patch below, to create vnode_if.h and then add it to CVS.

Any objectsions/comments/whatever?

/assar

Index: Makefile
===================================================================
RCS file: /home/ncvs/src/sys/kern/Makefile,v
retrieving revision 1.6
diff -u -w -r1.6 Makefile
--- Makefile	1999/11/14 13:54:42	1.6
+++ Makefile	2000/06/22 01:34:13
@@ -6,7 +6,7 @@
 ARCH=	i386 # luna68k news3400 pmax sparc tahoe vax
 
 all:
-	@echo "make tags, make links or init_sysent.c only"
+	@echo "make tags, make links, init_sysent.c, or ../sys/vnode_if.h only"
 
 init_sysent.c syscalls.c ../sys/syscall.h ../sys/syscall-hide.h \
 ../sys/syscall.mk ../sys/sysproto.h: makesyscalls.sh syscalls.master
@@ -17,6 +17,10 @@
 	-mv -f ../sys/syscall.mk ../sys/syscall.mk.bak
 	-mv -f ../sys/sysproto.h ../sys/sysproto.h.bak
 	sh makesyscalls.sh syscalls.master
+
+../sys/vnode_if.h: vnode_if.pl vnode_if.src
+	perl vnode_if.pl -h vnode_if.src
+	mv vnode_if.h ../sys
 
 # Kernel tags:
 # Tags files are built in the top-level directory for each architecture,


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ln1kesdkq.fsf>