From owner-freebsd-arch Wed Jun 28 1:12:38 2000 Delivered-To: freebsd-arch@freebsd.org Received: from server.baldwin.cx (server.geekhouse.net [64.81.6.52]) by hub.freebsd.org (Postfix) with ESMTP id 283BE37C10D for ; Wed, 28 Jun 2000 01:10:35 -0700 (PDT) (envelope-from john@baldwin.cx) Received: from john.baldwin.cx (root@john.baldwin.cx [192.168.1.18]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id BAA99195; Wed, 28 Jun 2000 01:09:10 -0700 (PDT) (envelope-from john@baldwin.cx) Received: (from john@localhost) by john.baldwin.cx (8.9.3/8.9.3) id CAA00986; Tue, 27 Jun 2000 02:41:28 -0700 (PDT) (envelope-from john) Message-Id: <200006270941.CAA00986@john.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000626142428.A275@fw.wintelcom.net> Date: Tue, 27 Jun 2000 02:41:28 -0700 (PDT) Organization: BSD, Inc. From: John Baldwin To: Alfred Perlstein Subject: RE: dynamic filetypes. please comment. Cc: arch@FreeBSD.ORG Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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(). -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message