A Union of two directories
Andrew_Esh at adaptec.com
Mon Feb 3 15:21:37 GMT 2003
For Arthur Barrett's purpose, it seems preferring the Read-Write
user-specific directory over the common one would be best. If the user
checks out a file and want to edit it, they should be able to. Until they
check it back in, they should see the file which has their changes in their
share. This is exactly what the mountable file system which is part of
Rational Clearcase does.
> -----Original Message-----
> From: Pierre Belanger [mailto:pbelang1 at oss.cantel.rogers.com]
> Sent: Monday, February 03, 2003 9:15 AM
> To: Arthur Barrett
> Cc: 'samba-technical at lists.samba.org'
> Subject: Re: A Union of two directories
> If there is a collision (2 or more directories with the same name),
> what do you think would be the best thing to do?
> I understand the idea of merging "2 directories", I think I would
> use such a "feature".
> I think the "VFS module" should actually support "n" directories.
> For the moment, can't you create a symbolic link?
> Pierre B.
> 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
More information about the samba-technical