From owner-freebsd-arch Wed Jun 28 1:28:44 2000 Delivered-To: freebsd-arch@freebsd.org Received: from mail.bastard.co.uk (node16292.a2000.nl [24.132.98.146]) by hub.freebsd.org (Postfix) with ESMTP id 875A337B5EC; Wed, 28 Jun 2000 01:28:40 -0700 (PDT) (envelope-from adrian@bastard.co.uk) Received: from adrian by mail.bastard.co.uk with local (Exim 3.14 #1) id 137DD5-000GL1-00; Wed, 28 Jun 2000 10:28:39 +0200 Date: Wed, 28 Jun 2000 10:28:39 +0200 From: Adrian Chadd To: John Baldwin Cc: Alfred Perlstein , arch@FreeBSD.ORG Subject: Re: dynamic filetypes. please comment. Message-ID: <20000628102839.H58428@zoe.bastard.co.uk> References: <20000626142428.A275@fw.wintelcom.net> <200006270941.CAA00986@john.baldwin.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200006270941.CAA00986@john.baldwin.cx>; from jhb@FreeBSD.ORG on Tue, Jun 27, 2000 at 02:41:28AM -0700 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jun 27, 2000, John Baldwin wrote: > > On 26-Jun-00 Alfred Perlstein wrote: > > In order to have a kld add a new filetype (DTYPE_VNODE, DTYPE_PIPE, > > etc.) it needs to generate a unique number. > > Ummm, what happened to fixing the kernel code to not need a type > but to add the appropriate vfsops as Peter suggested during the > BSDi hospitality thingie at Usenix? That solution avoids the need > for filetypes at all and provides the cleaner solution. IIRC, the > primary offender was sendfile(). Hrm. Can you go into a little more detail for us non-USENIXians? Adrian -- Adrian Chadd Build a man a fire, and he's warm for the rest of the evening. Set a man on fire and he's warm for the rest of his life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message