Steffen Nurpmeso wrote in <20221021164144.gv2dt%stef...@sdaoden.eu>: |Christos Zoulas wrote in | <tiufpv$fis$1...@ciao.gmane.io>: ||In article <3407f89f-6d30-f1a5-d013-77176f249...@petermann-it.de>, ||Matthias Petermann <m...@petermann-it.de> 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)