Thanks Michael,
I had tried the -D option as I saw it when I did softIocPVA -h.
It worked if I start the softIocPVA from the command line, but it did not work in the #! line of st.cmd.
I did not know that it works without the white space, but just tried and it does. One always learns.
I was foreseeing problems for the IOC boot configuration system at TRIUMF as our system is based on each IOC having a boot directory, which contains all the files for the current configuration, including the IOC image and dbd file(s), so that no special
tools are necessary for reverting back to a previous configuration.
As long as the -D option works in st.cmd (with or without white space) we will be ok.
- rolf -
On 2020-12-20 11:26 a.m., Michael Davidsaver wrote:
On 12/20/20 11:12 AM, Johnson, Andrew N. wrote:
IIRC the original softIoc had an option to specify the DBD file path on the command line (-D perhaps), and I don’t think Michael removed that so you might be able to get it to work by adding that option, possibly to your st.cmd’s #! line.
'-D' is recognized in 7.0.4.1, I didn't mention this since
#!./softIoc -D softIoc.dbd
won't work.
However, maybe you knew that
#!./softIoc -DsoftIoc.dbd
is recognized? I hadn't until now.
--
Rolf Keitel, Ph.D.
Researcher Emeritus
TRIUMF, 4004 Wesbrook Mall
Vancouver, BC, V6T 2A3
Office: 604 222 7453
Home: 604 228 0594
e-mail:
rolf at triumf.ca