From owner-freebsd-hackers Thu Nov 20 12:20:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA04005 for hackers-outgoing; Thu, 20 Nov 1997 12:20:12 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from trojanhorse.ml.org (mdean.vip.best.com [206.86.94.101]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA03992 for ; Thu, 20 Nov 1997 12:20:05 -0800 (PST) (envelope-from jamil@trojanhorse.ml.org) Received: from localhost (jamil@localhost) by trojanhorse.ml.org (8.8.8/8.8.5) with SMTP id LAA01891; Thu, 20 Nov 1997 11:41:25 -0800 (PST) Date: Thu, 20 Nov 1997 11:41:25 -0800 (PST) From: "Jamil J. Weatherbee" To: Joerg Wunsch cc: hackers@freebsd.org Subject: Re: vnode.h and IO_NDELAY (help!!) In-Reply-To: <19971120090611.FW37911@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Also, don't forget that you need to allow the FIONBIO ioctl command. Ok, sorry, I see what you are doing now. Your just hashing out the read function returning ERESTART and instead returing EINTR, since you have no way of restarting. I have done that also (it made sense). But about the FIONBIO call, I don't see what you are saying. Why would I need to support that, I thought that that would be intercepted at the vnode level? I see it defined in filio.h. By the way, how are you supposed to pick ioctl groups. I am currently using 'A', but i see 'D' being used also. Is there a list of which letter you should use. I assume lowercase are reserved for the system and you should always use uppercase in new drivers?