Pointers for understanding vfs/buffer/filesystem architecture

yf-263 yfyoufeng at 263.net
Mon Aug 1 01:52:09 GMT 2005


在 2005-07-30六的 09:34 -0500,Ryan Sommers写道:
> Eric Anderson wrote:
> > I've very interested in learning about FreeBSD's implementation of 
> > vfs/buffer cache/fs archicture.  I've read through mckusick@'s chapter 
> > in the Design and Implmentation of FreeBSD book, and I've read the UNIX 
> > Filesystems book cover to cover.
> > 
> > What I'd like to see/read/understand, is how FreeBSD in particular is 
> > put together in this regard, and then I'd like to go about writing a 
> > very very simple filesystem as a learning excercise.
> > 
> > Can anyone give me some pointers?  Would anyone be willing to guide me 
> > along in my quest by answering questions (off list if preferred, or on 
> > list), etc?
> > 
> > Thanks in advance for the hints/input!
> > Eric
> > 
> > 
> 
> Best place would be the source code itself. I think the nullfs 
> implementation would be a good place (src/sys/fs/nullfs). I thought I 
> also remembered some little article on writing an FS for freebsd, 
> finding it is eluding me though.

I'm also doing the same work. Now I'm working on port our data access
library into the FreeBSD kernel space as a vnode hooks. Hope we can help
each others :)

> 
-- 
yf-263 <yfyoufeng at 263.net>
Unix-driver.org



More information about the freebsd-hackers mailing list