From owner-freebsd-afs@FreeBSD.ORG Fri Feb 29 13:17:28 2008 Return-Path: Delivered-To: afs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D53291065670 for ; Fri, 29 Feb 2008 13:17:28 +0000 (UTC) (envelope-from alec-dated-1204721446.ad1d16@SetFilePointer.com) Received: from hamlet.setfilepointer.com (hamlet.SetFilePointer.com [63.224.10.2]) by mx1.freebsd.org (Postfix) with SMTP id 4FEB78FC15 for ; Fri, 29 Feb 2008 13:17:27 +0000 (UTC) (envelope-from alec-dated-1204721446.ad1d16@SetFilePointer.com) Received: (qmail 30332 invoked by uid 4250); 29 Feb 2008 06:50:46 -0600 Received: by hamlet.SetFilePointer.com (tmda-sendmail, from uid 4250); Fri, 29 Feb 2008 06:50:46 -0600 Date: Fri, 29 Feb 2008 06:50:45 -0600 To: Tomas Olsson Message-ID: <20080229125045.GC67238@hamlet.SetFilePointer.com> References: <20080227115148.W61020@fledge.watson.org> <20080229041706.GA67238@hamlet.SetFilePointer.com> <20080229050221.GB67238@hamlet.SetFilePointer.com> <1204268915.4369.13.camel@hippo.t.nxs.se> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L6iaP+gRLNZHKoI4" Content-Disposition: inline In-Reply-To: <1204268915.4369.13.camel@hippo.t.nxs.se> User-Agent: Mutt/1.4.2.3i X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alec Kloss X-Primary-Address: alec@SetFilePointer.com Cc: afs@FreeBSD.org, Robert Watson , Alec Kloss Subject: Re: PERFORCE change 136345 for review (fwd) X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 13:17:29 -0000 --L6iaP+gRLNZHKoI4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-02-29 08:08, Tomas Olsson wrote: > Good idea, maybe an odd place to put it -- unexpected side effect given > the file/macro name. On the other hand, I have no idea where I would put > it. Putting it next to vnode_if.h seems to make sense. Having vnode_if.h where it is in arla seems a little odd. I guess I'd consider moving both down to somewhere like nnpfs/sys or nnpfs/kernel or something. But that's all pretty much just cosmetics. > The beautiful long term solution may be adding some kind of lightweight > 'generate headers' target for the kernel build so external projects > don't need to reinvent the wheel? Or maybe arla is just a very strange > one. Yeah, glancing at the kernel build itself, there's bold symlink just like what I did; lrwxr-xr-x 1 root wheel 25 Jan 25 18:43 machine -> /usr/src/sys/i386/inc= lude It would be nice if either the kernel sources would have /usr/src/sys/i386/machine or /usr/src/sys/i386/include/machine instead of ending in include *or* as you suggest a make-kernel-headers in the kernel itself would be nice and it could do the symlinking, vnode_if.awk'ing, etc. for people. But if this works for you, and Robert doesn't object, let's go with it. =20 Robert, any thoughts? And do you want me to take a whack at merging nnpfs into the kernel build this weekend? I'd be jumping right into the deep end, but that's how you learn to swim, right? --=20 Alec Kloss alec@SetFilePointer.com IM: angryspamhater@yahoo.com PGP key at http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xA241980E "No Bunny!" -- Simon, from Frisky Dingo --L6iaP+gRLNZHKoI4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFHx/+l2s33paJBmA4RApAbAJ47dRvzzPklO8YM/ZqSZCrBETnTCACeL5dC SOmqd32ovxJzc5ELQK2Pzuc= =PfoU -----END PGP SIGNATURE----- --L6iaP+gRLNZHKoI4--