public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Documenting the VFS
@ 2005-08-13 19:05 Guillermo López Alejos
  2005-08-13 19:55 ` Stephane Wirtel
  2005-08-18  7:55 ` Daniel Phillips
  0 siblings, 2 replies; 4+ messages in thread
From: Guillermo López Alejos @ 2005-08-13 19:05 UTC (permalink / raw)
  To: Linux Kernel mailing list

Hi,

I'm writing documentation about the VFS. More concretely, I want to
document the following information about the methods defined in the
VFS interface (i.e. the struct *_operations):
    - Prototype.
    - Description (brief description of what the method has to do).
    - Description of the parameters (explanation of the purpose of
each parameter).
    - Return value (including possible error values).
    - Responsibility (what the method is expected to do, including
specific cases).
    - Default method (is there any method that can be used instead of
defining a new one?)
    - Mandatory (Is the method mandatory? or it can be assigned a NULL?)

It is rather difficult to find this information by looking at the
kernel sources, and the documentation I have found does not provide
the details I'm looking for.

Where can I found an up to date documentation about the VFS interface?
If there is no such document, which is the correct mailing list to
submit my questions at? Is there any IRC channel to chat about this?
(I have visited a couple of times #kernelnewbies).

Thanks for your help and regards,

-- 
Guillermo

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Documenting the VFS
@ 2005-08-13 20:47 Steve French
  0 siblings, 0 replies; 4+ messages in thread
From: Steve French @ 2005-08-13 20:47 UTC (permalink / raw)
  To: linux-kernel, stephane.wirtel

> Where can I found an up to date documentation about the VFS interface?
There is an ok chapter on filesystems in the O'Reilly Linux Kernel book,
and the Linux Device Drivers book (also from O'Reilly) is essential
reading.

Pay careful attention to fs/libfs.c and the nice small fs fs/ramfs which calls 
libfs which are both useful as they help understand the minimum that certain 
vfs interfaces require.  This was helpful to me when I wrote the cifs
filesystem.

Documentation/filesystems/vfs.txt has a little bit of documentation, as
does Documentation/Locking and Documentation/directory-locking.

I may try to write something (perhaps articles?) longer and
more formal if I get time.  

Finally the lwn series (weekly articles) on kernel development is
invaluable in describing what changes.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-18  7:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-13 19:05 Documenting the VFS Guillermo López Alejos
2005-08-13 19:55 ` Stephane Wirtel
2005-08-18  7:55 ` Daniel Phillips
  -- strict thread matches above, loose matches on Subject: below --
2005-08-13 20:47 Steve French

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox