[Samba] Custom VFS

Michael Wood esiotrot at gmail.com
Tue Jul 24 12:50:55 MDT 2012


Hi

On 19 July 2012 11:39, Daniel Iwan <iwan.daniel at gmail.com> wrote:
>
> Hi
>
> I would like to  create custom VFS that would redirect all calls to my
> backend.
>
> Few questions:
>
> 1) is it possible to use Java with JNI wrapper to communicate with my
> backend or does it have to be pure C/C++ ?

As far as I know, a Samba VFS must be a shared library.  i.e. a .so
file, so I don't think Java would work (although I don't know much
about JNI.)

> 2) are the notifications (file deletion/creation etc.) available in VFS,
> in
> other words notifying samba server and applications that directory has
> changed?
>
> 3) are there any examples/tutorials/walkthroughs or up to date
> documentation for VFS?

Try this:

http://www.samba.org/~sharpe/The-Samba-VFS.pdf

--
Michael Wood <esiotrot at gmail.com>


More information about the samba mailing list