On 12/20/20 11:35 AM, Rolf Keitel wrote:
> 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.
This gets me sometimes as well. It is due to a shortcut taken
by the linux kernel when parsing #! lines. Everything after the
first space passed as a single argument. So:
> #!./executable one two
is interpreted like
> $ ./executable "one two"
> 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.
> --
> signature text 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
- References:
- puzzle running softIocPVA Rolf Keitel via Tech-talk
- Re: puzzle running softIocPVA Michael Davidsaver via Tech-talk
- Re: puzzle running softIocPVA Johnson, Andrew N. via Tech-talk
- Re: puzzle running softIocPVA Michael Davidsaver via Tech-talk
- Re: puzzle running softIocPVA Rolf Keitel via Tech-talk
- Navigate by Date:
- Prev:
Re: puzzle running softIocPVA Rolf Keitel via Tech-talk
- Next:
Re: puzzle running softIocPVA Johnson, Andrew N. via Tech-talk
- 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: puzzle running softIocPVA Rolf Keitel via Tech-talk
- Next:
Re: puzzle running softIocPVA Johnson, Andrew N. via Tech-talk
- 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
|