VFS Module Docs & Examples

Richard Sharpe realrichardsharpe at gmail.com
Tue Jul 31 16:36:30 UTC 2018


On Tue, Jul 31, 2018 at 9:23 AM, Kory Draughn via samba-technical
<samba-technical at lists.samba.org> wrote:
> Hi,
>
> Is there any documentation describing each VFS function?
> Are there any example VFS modules that present data that does not reside on
> the filesystem (e.g. the data is managed by another process within a
> different network)?

There are some details on the Wiki:
https://wiki.samba.org/index.php/Writing_a_Samba_VFS_Module

Also, an older version of this here for Samba 3.6:
https://wiki.samba.org/index.php/The_new_version_of_Writing_a_Samba_VFS

The Wiki could do with some updating, but you should be able to get an
idea of what to do.

You can also read the code of various modules or
source3/modules/vfs_default.c to figure out what each function does.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)



More information about the samba-technical mailing list