From owner-freebsd-current Wed Apr 3 06:24:55 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA24393 for current-outgoing; Wed, 3 Apr 1996 06:24:55 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [144.206.136.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA24374 for ; Wed, 3 Apr 1996 06:24:43 -0800 (PST) Received: by sovcom.kiae.su id AA06352 (5.65.kiae-1 ); Wed, 3 Apr 1996 17:20:54 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Wed, 3 Apr 96 17:20:53 +0300 Received: (from ache@localhost) by astral.msk.su (8.7.5/8.7.3) id RAA04490; Wed, 3 Apr 1996 17:48:29 +0400 (MSD) Message-Id: <199604031348.RAA04490@astral.msk.su> Subject: Re: adjkerntz (was: cvs commit: src/usr.sbin/tzsetup ...) To: jdp@polstra.com (John Polstra) Date: Wed, 3 Apr 1996 17:48:29 +0400 (MSD) Cc: ache@freefall.freebsd.org, j@uriah.heep.sax.de, freebsd-current@FreeBSD.org In-Reply-To: <199604030050.QAA24634@austin.polstra.com> from "John Polstra" at "Apr 2, 96 04:50:06 pm" From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL14 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > > Is this really what is supposed to be happening? If there's a persistent > > > daemon, why must there also be separate periodic runs of the same program? > > > > IMHO reading one screen of adjkerntz manpage is more quick thing > > then writting such letter. > > IMHO the manual page is unclear. I read it over several times, and also > looked at the source. Yet I still have this question. Your reply did > nothing to change that. Well, as I remember, your question is: does both "adjkerntz -i" daemon and "adjkerntz -a" from crontab is valid? -or- >Is this really what is supposed to be happening? Here is manpage quote: --ii initialization call from _/_e_t_c_/_r_c (before any daemons are started). AAddjjkkeerrnnttzz makes the adjustment of kernel clock (CMOS clock not touched) and the initial time zone offset is stored into _a_d_j_k_e_r_n_t_z kernel variable for following subsequent ''aaddjjkkeerrnnttzz --aa'' calls. Then it goes to background pause which ends with SIGTERM. After receiv- ing SIGTERM it acts like ''aaddjjkkeerrnnttzz --aa'' to insure that the CMOS clock reflects the current local time zone. Without going deep into adjkerntz internal logic words here clearly assumed that "YES". Maybe english here not the best one, but I am not native english speaker, sorry. Feel free to change it to better/clear variant. -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849