Re: fix ntptrace man page
On Tue, Aug 25, 2009 at 04:44:32PM +0200, Oliver Pinter wrote: > On 8/25/09, Oliver Pinter wrote: > > funny, in /usr/src/usr.sbin/ntp/scripts/ntptrace implemented only the -n > > switch > > > > > > On 8/25/09, Gavin Atkinson wrote: > >> On Tue, 2009-08-25 at 04:58 +0200, Oliver Pinter wrote: > >>> Hi all! > >>> > >>> It's a small fix to ntpdate man page for freebsd 7-stable. > >> > >> I was looking at this a few days ago. The problem is not that the man > >> page is wrong, it's that the man page documents an entirely different > >> tool. For some reason, FreeBSD provides it's own version of ntptrace > >> which lacks anything but the basic functionality, whereas the man page > >> installed is that of the ntptrace tool as supplied in the ntpd > >> distribution. It would seem much more sensible to use the official > >> ntptrace and retain all the functionality people expoect from ntptrace, > >> although I haven't yet found time to get to the bottom of why this was > >> switched over from the official code in the first place. > the ntpd code is under the contrib dir, but the ntptrace script is > freebsds own script This is not true. The script comes with ntpd. The old version of ntptrace was replaced (in the ntpd tree) when ipv6 support was added. The reason was that the old version assumed that the refid field was an ip address. This was never part of the spec and was not true in a mixed ipv4/ipv6 setup. (Just because you use ipv4 to get to ntp server A, does not mean that it used ipv4 to sync from its upstream server.) The ntptrace html/man docs was just not updated. John -- John Hay -- j...@meraka.csir.co.za / j...@freebsd.org ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: fix ntptrace man page
On 8/25/09, Oliver Pinter wrote: > funny, in /usr/src/usr.sbin/ntp/scripts/ntptrace implemented only the -n > switch > > > On 8/25/09, Gavin Atkinson wrote: >> On Tue, 2009-08-25 at 04:58 +0200, Oliver Pinter wrote: >>> Hi all! >>> >>> It's a small fix to ntpdate man page for freebsd 7-stable. >> >> I was looking at this a few days ago. The problem is not that the man >> page is wrong, it's that the man page documents an entirely different >> tool. For some reason, FreeBSD provides it's own version of ntptrace >> which lacks anything but the basic functionality, whereas the man page >> installed is that of the ntptrace tool as supplied in the ntpd >> distribution. It would seem much more sensible to use the official >> ntptrace and retain all the functionality people expoect from ntptrace, >> although I haven't yet found time to get to the bottom of why this was >> switched over from the official code in the first place. the ntpd code is under the contrib dir, but the ntptrace script is freebsds own script >> >> Gavin >> > ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: fix ntptrace man page
funny, in /usr/src/usr.sbin/ntp/scripts/ntptrace implemented only the -n switch On 8/25/09, Gavin Atkinson wrote: > On Tue, 2009-08-25 at 04:58 +0200, Oliver Pinter wrote: >> Hi all! >> >> It's a small fix to ntpdate man page for freebsd 7-stable. > > I was looking at this a few days ago. The problem is not that the man > page is wrong, it's that the man page documents an entirely different > tool. For some reason, FreeBSD provides it's own version of ntptrace > which lacks anything but the basic functionality, whereas the man page > installed is that of the ntptrace tool as supplied in the ntpd > distribution. It would seem much more sensible to use the official > ntptrace and retain all the functionality people expoect from ntptrace, > although I haven't yet found time to get to the bottom of why this was > switched over from the official code in the first place. > > Gavin > ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: fix ntptrace man page
On Tue, 2009-08-25 at 04:58 +0200, Oliver Pinter wrote: > Hi all! > > It's a small fix to ntpdate man page for freebsd 7-stable. I was looking at this a few days ago. The problem is not that the man page is wrong, it's that the man page documents an entirely different tool. For some reason, FreeBSD provides it's own version of ntptrace which lacks anything but the basic functionality, whereas the man page installed is that of the ntptrace tool as supplied in the ntpd distribution. It would seem much more sensible to use the official ntptrace and retain all the functionality people expoect from ntptrace, although I haven't yet found time to get to the bottom of why this was switched over from the official code in the first place. Gavin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
fix ntptrace man page
Hi all! It's a small fix to ntpdate man page for freebsd 7-stable. commit 541cadb46c21521851327e6de51e1ae349b56453 Author: opv Date: Tue Aug 25 04:43:28 2009 +0200 fix the ntprace man file in ntptrace man: --8<-- ... The following options are available: -d Turn on some debugging output. ... -->8-- but in command line: --8<-- Unknown option: d -->8-- Signed-off-by: Oliver Pinter diff --git a/usr.sbin/ntp/doc/ntptrace.8 b/usr.sbin/ntp/doc/ntptrace.8 index 554a3c0..bb17d6e 100644 --- a/usr.sbin/ntp/doc/ntptrace.8 +++ b/usr.sbin/ntp/doc/ntptrace.8 @@ -50,8 +50,6 @@ These terms are precisely defined in RFC 1305. .Pp The following options are available: .Bl -tag -width indent -.It Fl d -Turn on some debugging output. .It Fl n Turn off the printing of host names; instead, host IP addresses are given. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"