On Tue, Jan 4, 2011 at 23:30 UTC, Edward T. Mischanko <[email protected]> wrote: > On my FreeBSD system have built and installed ntp-dev-4.2.7p108. > But, when I type: > > ntpd --version > > It returns: > > ntpd - NTP daemon program - ver 4.2.4p5 > > What is the prper way to determine the current version of ntpd that you have > installed or are running?
You've done the right thing to check the version of the first ntpd on your $PATH. To check the version of the running ntpd: ntpq -c "rv 0 version" # or simply ntpq -crv By default the NTP package installs to /usr/local/bin, and the system ntpd is earlier on your path. Unfortunately, there's no simple way to have NTP built from source installed the way FreeBSD has it, as they put some programs in bin and some in sbin, and our build system puts all programs in a single directory. There are a number of ways to prefer your locally-built NTP programs. I've just copped out and removed the system ntpd, ntpdc, ntpdate, ntpq, and ntp-keygen binaries. Another obvious approach is to install to a temporary tree and then copy the binaries over the system ones. Cheers, Dave Hart _______________________________________________ questions mailing list [email protected] http://lists.ntp.org/listinfo/questions
