From owner-freebsd-current Sat Apr 1 06:05:44 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id GAA11997 for current-outgoing; Sat, 1 Apr 1995 06:05:44 -0800 Received: from aries.ibms.sinica.edu.tw ([140.109.40.248]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id GAA11981 for ; Sat, 1 Apr 1995 06:05:36 -0800 Received: (from taob@localhost) by aries.ibms.sinica.edu.tw (8.6.11/8.6.9) id VAA13866; Sat, 1 Apr 1995 21:13:27 +0800 Date: Sat, 1 Apr 1995 21:13:27 +0800 (CST) From: Brian Tao To: FREEBSD-CURRENT-L Subject: /usr/src/sys/sys/vnioctl.h Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: current-owner@FreeBSD.org Precedence: bulk First time compiling a -current kernel... hope I'm not missing something obvious. I want vnode support in the new kernel, but I get this when trying to compile /usr/src/sys/dev/vn/vn.c: ../../dev/vn/vn.c: In function `vnioctl': ../../dev/vn/vn.c:443: `VNIOCSET' undeclared (first use this function) ../../dev/vn/vn.c:443: (Each undeclared identifier is reported only once ../../dev/vn/vn.c:443: for each function it appears in.) ../../dev/vn/vn.c:492: `VNIOCCLR' undeclared (first use this function) ../../dev/vn/vn.c:510: warning: unreachable code at beginning of switch statement *** Error code 1 Looking in : /* * Before you can use a unit, it must be configured with VNIOCSET. * The configuration persists across opens and closes of the device; * an VNIOCCLR must be used to reset a configuration. An attempt to * VNIOCSET an already active unit will return EBUSY. */ #define VNIOCATTACH _IOWR('F', 0, struct vn_ioctl) /* attach file */ #define VNIOCDETACH _IOWR('F', 1, struct vn_ioctl) /* detach disk */ #define VNIOCGSET _IOWR('F', 2, u_long ) /* set global option */ #define VNIOCGCLEAR _IOWR('F', 3, u_long ) /* reset --//-- */ #define VNIOCUSET _IOWR('F', 4, u_long ) /* set unit option */ #define VNIOCUCLEAR _IOWR('F', 5, u_long ) /* reset --//-- */ The #defines for VNIOCSET and VNIOCCLR are nowhere to be found. -- Brian ("Though this be madness, yet there is method in't") Tao taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org