From owner-freebsd-current Wed Jun 28 9:33: 8 2000 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 3C89E37B556; Wed, 28 Jun 2000 09:32:54 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id KAA80212; Wed, 28 Jun 2000 10:32:51 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id KAA56195; Wed, 28 Jun 2000 10:32:49 -0600 (MDT) Message-Id: <200006281632.KAA56195@harmony.village.org> To: Kris Kennaway Subject: Re: vnode_if.h: how should it be done ? Cc: Assar Westerlund , current@FreeBSD.org In-reply-to: Your message of "Wed, 28 Jun 2000 01:48:22 PDT." References: Date: Wed, 28 Jun 2000 10:32:49 -0600 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Kris Kennaway writes: : On Sun, 25 Jun 2000, Warner Losh wrote: : : > They aren't installed. You must have a kernel tree to build the kld. : > Just add vnode_if.h to your SRCS and the rest happens automatically : > via bsd.kmod.mk. It works great. I do it all the time. In fact, I : > added SYSDIR support to bsd.kmod.mk at Timing Solutions so that we : > could compile our drivers outside of the tree. : : As I understand it, this is the only file which is required from the : kernel sources in order to build the arla port. ISTR FiST also needs it to : be present, and I also think I once came across another port that needed : it too. Is it really so wrong to make the lives of these third-party FS : tools harder by requiring full kernel sources to be present? Yes. They must be present. That's the API we have, for good or for ill. In order to get the right interfaces and the right generated files, they have to use the right proceedures. If you have stale or incorrect files, the ports will mysteriously not work. I'll take a look at the ports in question. Likely they are buggy by not using bsd.kmod.mk. Using bsd.kmod.mk is mandatory for kernel modules. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message