"ntpdate" versus "ntpd"

Robert P. J. Day rpjday at mindspring.com
Fri Jan 30 17:17:23 UTC 2004


  (sorry i can't respond directly to alexander dalloz's posting, i have to
do it through a web browser.  some day, i'll get this figured out.)

  i can sympathize with alexander's question -- ntpd is clearly a daemon,
while ntpdate is a one-time "call and run" tool as he puts it.  but if you
look at the man page for ntpdate under FC1, it states right up front that
ntpdate functionality is now available in ntpd, and ntpdate will eventually
be retired from the distro "after a suitable period of mourning."

  fair enough.  but this raises the obvious question -- is there a way to
invoke "ntpd" to emulate nptdate's one-time, sync-my-clock-RFN!!
behaviour, strictly from the command line, without resorting to messing
with /etc/ntp.conf?

  i mean, this seems to be a fair question -- if i fire up my laptop, and 
it's on the net, how can i sync it with a well-known NTP server if i have
access only to ntpd, and not ntpdate?

  i suspect it's time to pore over the docs at www.ntp.org, just to clarify
all of this in my own mind.

rday

  






More information about the fedora-list mailing list