The docs for the find command mention a “version query”:
-fsmanager name
(QNX) True if the file being evaluated is being managed by a
process whose name, as reported by its response to a version query,
matches name. A special name “Unknown”, will match files whose managers
reject the version query.
But I can’t find anything else that talks about a “version query”. That
sounds like something I’d like to add to my own resource managers,
especially if there’s a standard way of doing it. Is there any more
information available?
Murf
John Murphy wrote:
The docs for the find command mention a “version query”:
-fsmanager name
(QNX) True if the file being evaluated is being managed by a
process whose name, as reported by its response to a version query,
matches name. A special name “Unknown”, will match files whose managers
reject the version query.
But I can’t find anything else that talks about a “version query”. That
sounds like something I’d like to add to my own resource managers,
especially if there’s a standard way of doing it. Is there any more
information available?
That’s a QNX4-ism, corresponds to “sin ver”, but it isn’t
available/supported under QNX6. I am not aware of a standard means of
run-time identification. However version information is embedded into
executables for build identification in a standard manner via “use -i”.
Ah, I’d never noticed the -i switch in use! Now, for the next dumb question,
how do you add the QNX_info section to an executable?
Murf
John Garvey wrote:
John Murphy wrote:
The docs for the find command mention a “version query”:
-fsmanager name
(QNX) True if the file being evaluated is being managed by a
process whose name, as reported by its response to a version query,
matches name. A special name “Unknown”, will match files whose managers
reject the version query.
But I can’t find anything else that talks about a “version query”. That
sounds like something I’d like to add to my own resource managers,
especially if there’s a standard way of doing it. Is there any more
information available?
That’s a QNX4-ism, corresponds to “sin ver”, but it isn’t
available/supported under QNX6. I am not aware of a standard means of
run-time identification. However version information is embedded into
executables for build identification in a standard manner via “use -i”.
Thank you! This is the first time I can remember that using “use” produced more
information than the Helpviewer- and in this case, a LOT more.
Thanks again!!!
Murf
John Garvey wrote:
John Murphy wrote:
Ah, I’d never noticed the -i switch in use! Now, for the next dumb question,
how do you add the QNX_info section to an executable?
$ use usemsg
John Murphy <murf@perftech.com> wrote:
Thank you! This is the first time I can remember that using “use”
produced more information than the Helpviewer- and in this case,
a LOT more.
I’ve seen that before – but usually when I do, I issue a PR and
the docs get updated to, at least, match the usemessage.
-David
Please follow-up to newsgroup, rather than personal email.
David Gibbs
QNX Training Services
dagibbs@qnx.com