Michal Mertl wrote:> > /etc/ntp directory isn't used by default on 5.4. > The default location for ntp.drift file is /var/db. > I've never created it by hand (not even by > 'touching' it), it gets created automatically.
No, there's no such default as "/var/db/ntp.drift". It's either "/etc/ntp.drift" or "/var/db/ntpd.drift", depending on which of the two you consider is the 'most' default :). There are different, hence somewhat confusing, defaults in FreeBSD for ntpd. "man ntpd" has this in the FILES section: /etc/ntp.conf the default name of the configuration file /etc/ntp.drift the default name of the drift file /etc/ntp.keys the default name of the key file whereas in /etc/defaults/rc.conf, you'll find: ntpd_flags="-p /var/run/ntpd.pid \ -f /var/db/ntpd.drift" Note that not only the directories differ, but also the filenames: "ntp" vs. "ntpd". ---------------------- To avoid these confusing defaults, I do following: In /etc/rc.conf: ntpd_enable="YES" ntpd_flags="-g" In /etc/ntp.conf: driftfile /var/db/ntpd.drift pidfile /var/run/ntpd.pid [...and other config lines...] Rob. Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"