From owner-freebsd-fs@FreeBSD.ORG Mon Dec 22 18:16:55 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85221106564A for ; Mon, 22 Dec 2008 18:16:55 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout1.freenet.de (mout1.freenet.de [IPv6:2001:748:100:40::2:3]) by mx1.freebsd.org (Postfix) with ESMTP id 1BFC18FC16 for ; Mon, 22 Dec 2008 18:16:54 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.22] (helo=12.mx.freenet.de) by mout1.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #73) id 1LEpKn-000830-BP; Mon, 22 Dec 2008 19:16:53 +0100 Received: from ta323.t.pppool.de ([89.55.163.35]:33959 helo=ernst.jennejohn.org) by 12.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #73) id 1LEpKn-0007Gc-3n; Mon, 22 Dec 2008 19:16:53 +0100 Date: Mon, 22 Dec 2008 19:16:51 +0100 From: Gary Jennejohn To: "Gerry Weaver" Message-ID: <20081222191651.051cb2b6@ernst.jennejohn.org> In-Reply-To: <20081222165858.be1f1fea@mail01.compvia.com> References: <20081222165858.be1f1fea@mail01.compvia.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: Headers files included by vnode.h X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2008 18:16:55 -0000 On Mon, 22 Dec 2008 10:58:58 -0600 "Gerry Weaver" wrote: > From: Gary Jennejohn [mailto:gary.jennejohn@freenet.de] > > On Mon, 22 Dec 2008 00:59:54 -0600 > "Gerry Weaver" wrote: > > > Hello All, > > > > I hope this is the right place to post this. > > > > I've noticed that there are several header files included by /usr/include/sys/vnode.h that are not present in the directory. Are these files supposed to be there? If not, what is the proper include path to use when including vnode.h? They only appear in the source tree on my system. > > > > FreeBSD 7.0-RELEASE > > > > vnode_if.h > > vnode_if_newproto.h > > vnode_if_typedef.h > > > > These files (among others) are dynamically generated when you make a > kernel. See /sys/kern/vnode_if.src and /sys/tools/vnode_if.awk. > > Shouldn't these headers be installed/linked as part of the kernel make > install process then? It seems odd to use an include path to the kernel > source tree. > Please don't top post and try to wrap your lines. Because these files are dynamically generated it makes no sense to install them. There are quite a few files like these which are used during the kernel generation process to dynamically create include files. This allows greater flexibility. --- Gary Jennejohn