Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Functional differences when using ntpd as NTP client on NTP-NetBSD 9.3<-->10 ?



Steffen Nurpmeso wrote in
 <20221021164144.GV2dt%steffen%sdaoden.eu@localhost>:
 |Christos Zoulas wrote in
 | <tiufpv$fis$1%ciao.gmane.io@localhost>:
 ||In article <3407f89f-6d30-f1a5-d013-77176f249b26%petermann-it.de@localhost>,
 ||Matthias Petermann  <mp%petermann-it.de@localhost> wrote:
 | ...
 ||>I use ntpd in my Qemu/nvmm VMs as a client to synchronise the (otherwise 
 | ...
 |
 |I would simply shoot via rdate(8) without -a, maybe via cron.
 |Unless they are long living, then with -a.
 |(I drive my laptop like so, against a NTP running on an always-on
 |vserver that listens to a single NTP in the same rack.)

Hm.  'Having looked at NetBSD rdate.c because i do not know why.

I would point to OpenBSD's rdate, aka the portable [1] (which
might be in pkgsrc).  This supports (S)NTP, and actually uses
sub-second fields.  (NetBSD's variant has only second resolution.)

I would recommend that NetBSD imports the OpenBSD variant really.

  [1] https://github.com/leahneukirchen/outils

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


Home | Main Index | Thread Index | Old Index