Let fcopy look for files containing more than one class name separated by dots
Johannes Plunien
johannes.plunien at xing.com
Thu Nov 25 09:43:36 CET 2010
Hi,
currently fcopy looks for files that are named exactly like one of the FAI classes the server belongs to. Using my patch you can also add files named CLASS1.CLASS2. So let's assume following situation: You got servers in CLASS1, others in CLASS2 and even some which are in CLASS1 and CLASS2. If you add a file named CLASS1.CLASS2 it will be chosen over files that are just named CLASS1 or CLASS2. You can separate as many class-names as you want, by dots. The most specific wins. So if there's a file CLASS1.CLASS2.CLASS3, it will win over CLASS1.CLASS2 if the server is in all three classes.
If you're interested I'd like to get some feedback on my patch: https://gist.github.com/715088
I could also setup a branch on the Subversion repository if anybody can hook my up with a commit bit there. My public key can be found here: http://dl.dropbox.com/u/1365846/tmp/id_dsa.pub
Thanks,
plu
More information about the linux-fai
mailing list