From owner-freebsd-hackers Thu Dec 5 22:45:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDCBE37B401 for ; Thu, 5 Dec 2002 22:45:51 -0800 (PST) Received: from hotmail.com (f40.pav0.hotmail.com [64.4.32.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B56143EBE for ; Thu, 5 Dec 2002 22:45:51 -0800 (PST) (envelope-from oykai@msn.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 5 Dec 2002 22:45:51 -0800 Received: from 210.74.136.33 by pv0fd.pav0.hotmail.msn.com with HTTP; Fri, 06 Dec 2002 06:45:50 GMT X-Originating-IP: [210.74.136.33] From: "kai ouyang" To: hackers@FreeBSD.org Subject: One Filesystem vnode operations declare problem. Date: Fri, 06 Dec 2002 14:45:50 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 06 Dec 2002 06:45:51.0156 (UTC) FILETIME=[1DD94740:01C29CF3] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, everybody, I have some questions about FS vnode operations. I found the filesystems always declare vnode operations by "VNODEOP_SET" more than once. For example: In DEVFS: VNODEOP_SET(devfs_vnodeop_opv_desc); VNODEOP_SET(devfs_specop_opv_desc); In FFS: VNODEOP_SET(ffs_vnodeop_opv_desc); VNODEOP_SET(ffs_specop_opv_desc); VNODEOP_SET(ffs_fifoop_opv_desc); Why? Why can not the kerenel use only "devfs_vnodeop_opv_desc" or "ffs_vnodeop_opv_desc"? Another words, I want to know the difference among those "VNODEOP_SET" in one filesystem. Thank you! Best Regards Ouyang Kai _________________________________________________________________ Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message