From owner-freebsd-hackers Tue Jul 30 13:13:08 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA03113 for hackers-outgoing; Tue, 30 Jul 1996 13:13:08 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA03105 for ; Tue, 30 Jul 1996 13:13:03 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA00436; Tue, 30 Jul 1996 13:11:44 -0700 From: Terry Lambert Message-Id: <199607302011.NAA00436@phaeton.artisoft.com> Subject: Re: your mail To: hasty@rah.star-gate.com (Amancio Hasty) Date: Tue, 30 Jul 1996 13:11:44 -0700 (MST) Cc: davidg@Root.COM, heo@cslsun10.sogang.ac.kr, freebsd-hackers@FreeBSD.org In-Reply-To: <199607191258.FAA00407@rah.star-gate.com> from "Amancio Hasty" at Jul 19, 96 05:58:14 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > From The Desk Of David Greenman : > > > 4) How can user process access the file in ufs filesystem through raw disk? > > > > You can't unless you write a user-mode UFS/FFS that does it's I/O through > > the raw device. I couldn't imagine why you'd want to do this, however. > > > > My guess is that his assumption is that accessing the files via a > "raw disk mode" will be faster than going thru the normal file > access mechanism. I wish I knew what is he up to so we can help him or > better yet his justification for taking such approach . You can more efficiently traverse a directory this way; specifically, you avoid the system call boundry push problem when you have blocks of crap file names that don't match the pattern you are looking for. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.