Hi!

> I have a dav vfs (see webdav.org) working to the extent of fetching a
> directory listing BUT there are recalls of some of the routines that don't
> make sense to me.
> 
> I have found two levels of vfs logic - one that is called directly from
> entries in the vfs structure and one that uses vfs_s_* (routines in
> direntry.c).  I am using vfs_s routines because I think that is sufficient
> and is simplier.

Yup. First level is "basic" one. Everyone has to work at that
level. You could write your webdav at that level, but it would not be
convient.

Second is "vfs_s_*" level. It is completely unsuitable for some stuff
(like local filesystem), because it does caching. It is however
suitable for you. It was not meant as interface, and it is not
neccessarily nice (see difference of ftpfs vs. tarfs -- one uses tree
of entries/inodes and one uses single-level fake-tree). ("basic" level
is expected to be nice). If you want to see how vfs_s_ level is
expected to work, I'd suggest you read fish.

                                                                Pavel
-- 
I'm [EMAIL PROTECTED] "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at [EMAIL PROTECTED]

Reply via email to