[Unison-hackers] unison + star topology

Pedram Ebrahimian-Diznabi ped at sandvine.com
Wed Jan 11 19:29:01 EST 2006


Hi to all,

I facing a problem, that is a bit complicated, here is my current set up:

I have 3 computers (pc1, pc2, master) each with number of directories:

sample on pc1:
	../myroot
 	../myroot/home1
	../myroot/home1/<few files and directories>
	../myroot/home1/<a directory called FLASH>

each pc has multiple home# directories and each home# directory has only one FLASH directory under it.

This is what I want to do:

I have these 3 computers set up as "star topology". so that I can have them all be in sync with one another.
pc1<=====> master <=====> pc2

However, I only want the contents of FLASH to be pulled in from pc2 & pc1 and never pushed out.
and I don't want the content FLASH on master to be deleted.

case 1:
on pc1 ../myroot/home2 and ../myroot/home4 have files called "TEST1" in their FLASH directory
on pc2 ../myroot/home2 and ../myroot/home4 have files called "TEST2" in their FLASH directory

I wish to have the following result:
  master:
	../myroot/home2/ has two files called "TEST1" and "TEST2" in its FLASH directory
	../myroot/home4/ has two files called "TEST1" and "TEST2" in its FLASH directory
  
  pc1:
	../myroot/home2/ has one file called "TEST1" in its FLASH directory
	../myroot/home4/ has one file called "TEST1" in its FLASH directory
 
  pc2:
	../myroot/home2/ has one file called "TEST2" in its FLASH directory
	../myroot/home4/ has one file called "TEST2" in its FLASH directory

  all:
	all other directories and files should be same across
Thank you in advance for your help.





More information about the Unison-hackers mailing list