From owner-freebsd-bugs Wed Nov 6 16:10:08 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA10309 for bugs-outgoing; Wed, 6 Nov 1996 16:10:08 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA10294; Wed, 6 Nov 1996 16:10:04 -0800 (PST) Date: Wed, 6 Nov 1996 16:10:04 -0800 (PST) Message-Id: <199611070010.QAA10294@freefall.freebsd.org> To: freebsd-bugs Cc: From: "Mark O'Lear" Subject: Re: bin/1968: rdate(8) implementation (from NetBSD) Reply-To: "Mark O'Lear" Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1968; it has been noted by GNATS. From: "Mark O'Lear" To: cracauer@cons.org Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: bin/1968: rdate(8) implementation (from NetBSD) Date: Wed, 06 Nov 1996 17:05:51 -0700 cracauer@cons.org wrote: > > >Number: 1968 > >Category: bin > >Synopsis: FreeBSD has no rdate(8), here's one > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-bugs > >State: open > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Wed Nov 6 07:20:02 PST 1996 > >Last-Modified: > >Originator: Martin Cracauer > >Organization: > private > >Release: FreeBSD 2.2-960801-SNAP i386 > >Environment: > > All FreeBSD versions > > >Description: > > FreeBSD has no rdate(8). While NTP is probably better, I like to have > a utility around that can synchronize 'ad hoc' to a given host. > > I can imagine the following situations where rdate(8) may be better > than NTP: > - You want to synchronize to a host whose clock is just wrong, but you > don't care for the correct time, just it has to be the same on > a second machine you are root on. > - In an environment where I know one host has a perfect clock, I just > add an rdate run to the crontab and don't set up NTP at all. > > Therefore, I request to add rdate(8) to FreeBSD as an addition to > NTP. > > >How-To-Repeat: > > shell$ rdate gatekeeper.dec.com > rdate: not found > > >Fix: > > This is rdate(8) from NetBSD, including one C source file, a manual > page in source format and a Makefile. > > You will have to make cosmetic changes I don't know about to add this > to FreeBSD, probably under src/usr.sbin/rdate/. Please remember to let > the copyright of the original author (Christos Zoulas) intact. I have > nit changed the code. > > I have tested that this source not only compiles on my FreeBSD > machines, it also sets the time right and the time is reflected to the > system hardware clock (no wonder :-). > > > Name: rdate.tar.gz > Part 1.2 Type: Unix Tape Archive (application/x-tar) > Encoding: x-uuencode > > >Audit-Trail: > >Unformatted: When you say NTP do you mean xntpd or just the protocol? ntpdate(8) does one time clock synchronization using NTP. Does rdate use something other than NTP? -- Mark O'Lear \ e-mail: Mark.Olear@Colorado.EDU University of Colorado \ phone: (303) 492-3798 Telecomm. Svcs. (CB 313) \ fax: (303) 492-5105 Boulder, CO 80309 \