Pointers for understanding vfs/buffer/filesystem architecture

Eric Anderson anderson at centtech.com
Sat Aug 6 04:24:12 GMT 2005


yf-263 wrote:
> 在 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 :)

Excellent!  I'm looking forward to seeing some alpha code to play with :)

I'm still in the R&D mode myself.

Eric



-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------



More information about the freebsd-hackers mailing list