Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 1996 13:11:44 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        hasty@rah.star-gate.com (Amancio Hasty)
Cc:        davidg@Root.COM, heo@cslsun10.sogang.ac.kr, freebsd-hackers@FreeBSD.org
Subject:   Re: your mail
Message-ID:  <199607302011.NAA00436@phaeton.artisoft.com>
In-Reply-To: <199607191258.FAA00407@rah.star-gate.com> from "Amancio Hasty" at Jul 19, 96 05:58:14 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607302011.NAA00436>