From owner-freebsd-hackers Thu Apr 22 19: 3:39 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from sol (cs1-gw.cs.binghamton.edu [128.226.171.72]) by hub.freebsd.org (Postfix) with SMTP id 34F9B14CF8 for ; Thu, 22 Apr 1999 19:03:37 -0700 (PDT) (envelope-from zzhang@cs.binghamton.edu) Received: from localhost (zzhang@localhost) by sol (SMI-8.6/8.6.9) with SMTP id VAA09045 for ; Thu, 22 Apr 1999 21:50:51 -0400 Date: Thu, 22 Apr 1999 21:50:51 -0400 (EDT) From: Zhihui Zhang To: freebsd-hackers@freebsd.org Subject: Source code dealing with raw I/O Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am interested to know where in source code the raw I/O is handled. I guess that when you write something like open("/dev/r",flag) instead of open("/dev/",flag), raw I/O happens. Can anyone tell me which soure code files or routines handle RAW I/O? How to get the dev argument to a device read() routine like wdopen() in wd.c? Any help is appreciated. -------------------------------------------------- Zhihui Zhang. Please visit http://www.freebsd.org -------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message