>
>To do this you would create a new sub-directory under your union and
>then proceed to cat a new string into the branch ordering file for the
>union. Here is an example of the commands
>
>cd /unionfs/union1
>mkdir branch3
>cd branch3
>echo mypath > path
>echo mymode > mode
>#echo imap info if necessary
>echo myimap > imap
>#back to our directory for our union
>cd ..
>#this line will check the current against what is being
>#written to this file to check if changes are necessary
>#and will perform the correct operations (shifting, adding, 
>#deleting etc)
>echo branch1,branch3,branch2 > branches

This sounds awkward. Making a pseudofs (spelled with 'e') that lives 
between the parent vfsmount and the union vfsmount sounds like it breaks 
all logical rules.

I would much better see a unionctl that sends an ioctl or do a remount with 
all operations that should be atomic at once to the kernel.


Jan Engelhardt
-- 
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to