A common way of handling this is with:
template/substitution files so that each IOC has its own .db file
or
one .db file loaded by all IOCs with different macro definitions in
the dbLoadRecords commands.
On Sep 25, 2009, at 5:48 PM, 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?
Thank you,
Patrick
Mark Rivers wrote:
You can put entries in the xxxApp/Db/Makefile, and then make will
copy the .db files to the TOP/db directory. But you don't have to
do this if you don't want to, you can have the IOC directly load
the .db files out of the xxxApp/Db directory. The latter is what I
do, because I deploy EPICS on sites where they don't have a build
system, and so can't run make. So we just use the .db files in the
Db/ directory.
Mark
________________________________
From: [email protected] on behalf of Patrick Thomas
Sent: Wed 9/23/2009 5:38 PM
To: Andrew Johnson
Cc: [email protected]
Subject: Re: db folder
I'm sorry, I don't quite follow, where do I put the .db files that
will
be loaded by the ioc? Do I have to put something in one of the
Makefiles?
Andrew Johnson wrote:
On Wednesday 23 September 2009 16:23:54 Patrick Thomas wrote:
Does makeBaseApp -t ioc normally create a db folder in the top
directory, or does that get made by the user?
Neither; directories such bin, db, dbd, doc, html, include, and
lib will get
created at build time when make has something that needs to be
installed in
the relevant directory. Note that if you do a 'make distclean' at
the top
level, these directories *and their contents* will be deleted, so
it is a bad
idea to add files to them manually as they might not have a very
long life.
HTH,
- Andrew
--
Eric Norum <[email protected]>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793
- References:
- db folder Patrick Thomas
- Re: db folder Andrew Johnson
- Re: db folder Patrick Thomas
- RE: db folder Mark Rivers
- Re: db folder Patrick Thomas
- Navigate by Date:
- Prev:
Re: db folder Patrick Thomas
- Next:
Re: db folder Jason Tiller
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: db folder Patrick Thomas
- Next:
Re: db folder Jason Tiller
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|