Hi, Patrick, :)
On Fri, 25 Sep 2009, Patrick Thomas wrote:
What should I do if I have multiple iocs under the same top
directory, and they all use a common .db file? Is there a similar Db
directory to put them in that is not specific to one application?
I, too, am a very new EPICSonian. When I encountered this problem, I
learned that trying to maintain multiple copies became unwieldy very
quickly, especially with four or five controls weenies trying to use
it simultaneously.
My solution was to write a module that holds the shared DB files.
Then include your new module in all of the IOCs that need it. If
they're just DB files (not templates), then you can place
DB_INSTALLS += $(YOUR_MODULE)/db/your_db_file.db
in your Db/Makefile. This will copy the module's .db into your 'db'
directory.
---Jason