I install ntpd and execute it with a local clock as a time source. It works.
Then I tried to use GPS (Trimble Lassen SKII) receiver as a time source. To
use generic reference clock driver I need to create symbolic link (link to
serial port driver) /dev/refclock-0. So I can’t do it. System can’t create a
symbolic link in /dev.
Why? For example, Linux can to create symbolic links in /dev.
I install ntpd and execute it with a local clock as a time source. It works.
Then I tried to use GPS (Trimble Lassen SKII) receiver as a time source. To
use generic reference clock driver I need to create symbolic link (link to
serial port driver) /dev/refclock-0. So I can’t do it. System can’t create a
symbolic link in /dev.
Why? For example, Linux can to create symbolic links in /dev.
Differences in the way that the file namespace is handled. Under Linux
(I’m somewhat hazy on this, so I might be wrong), /dev is a real directory
and you can put regular files there. Under QNX, /dev is a fake directory
that only exists as a data structure in procnto. What can you do is
create a process manager prefix:
ln -sP /dev/ser??? /dev/refclock-0
Note that this prefix is also just a data structure in procnto, so
you have to re-execute the above command every time the system is
booted to re-establish the link.