A Union of two directories

Simo Sorce simo.sorce at xsec.it
Mon Feb 3 14:23:43 GMT 2003

The best thing you can do is to make a custom VFS module.
Look in the source and example/VFS directoryes of samba source code.

Good Luck,


On Mon, 2003-02-03 at 15:29, Arthur Barrett wrote:
> Hi All!
> I am new to Samba and this group and I have a question...
> My company wants to make a "custom" version of Samba which is capable of
> creating a "share" which is actually a union of two directories.
> ie: instead of the share "\\samba\arthur" being /home/arthur,
> we want the share "\\samba\arthur" to be the union of the two directories
> /home/common and /home/arthur
> Why?  It's all to do with version control and limitations in other software.
> The idea is to create a "reserved checkout" in a single directory.  ie: all
> the "read only" code is in /home/common and the "checked out" code is in
> /home/arthur", but the silly end product software wants all the files in 1
> directory (\\samba\arthur).  Oh woe is me!
> So my question is: which source code file is the one that actually opens
> files in the unix file system ?
> Additionally - is anyone else interested in the result ?
> Regards,
> Arthur Barrett
Simo Sorce - simo.sorce at xsec.it
Xsec s.r.l.
via Durando 10 Ed. G - 20158 - Milano
tel. +39 02 2399 7130 - fax: +39 02 700 442 399
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030203/8fe1ad6b/attachment.bin

More information about the samba-technical mailing list