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++ ? 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? Regards Daniel
Ajaxplorer could be worth to look at. ----------------------------------------------- EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de ----------------------------------------------- -----Urspr?ngliche Nachricht----- Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von Daniel Iwan Gesendet: Donnerstag, 19. Juli 2012 11:40 An: samba at lists.samba.org Betreff: [Samba] Custom VFS 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++ ? 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? Regards Daniel -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
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>