From owner-cvs-all@FreeBSD.ORG Fri Oct 19 23:54:36 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 961A216A41B; Fri, 19 Oct 2007 23:54:36 +0000 (UTC) (envelope-from cnst@FreeBSD.org) Received: from mojo.ru (mojo.ru [84.252.152.63]) by mx1.freebsd.org (Postfix) with ESMTP id A9B7813C480; Fri, 19 Oct 2007 23:54:35 +0000 (UTC) (envelope-from cnst@FreeBSD.org) Received: from [192.168.0.16] (nc-76-6-108-199.dhcp.embarqhsd.net [76.6.108.199]) (authenticated bits=0) by mojo.ru (8.12.11.20060308/8.12.10) with ESMTP id l9JNshFh007427 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 20 Oct 2007 03:54:45 +0400 Message-ID: <471943AD.3040402@FreeBSD.org> Date: Fri, 19 Oct 2007 19:54:21 -0400 From: "Constantine A. Murenin" Organization: Google Summer of Code 2007 Student @ The FreeBSD Project User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-gb, en-gb-oed, en, en-us, ru, ru-ru, ru-su MIME-Version: 1.0 To: Alexander Leidinger References: <52183.1192652654@critter.freebsd.dk> <20071018092558.3c9b4tkescko4g0c@webmail.leidinger.net> In-Reply-To: <20071018092558.3c9b4tkescko4g0c@webmail.leidinger.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Scott Long , src-committers@FreeBSD.org, John Baldwin , cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, "Constantine A. Murenin" , Poul-Henning Kamp , Wilko Bulte Subject: Re: cvs commit: src/etc Makefile sensorsd.conf src/etc/defaults rc.conf src/etc/rc.d Makefile sensorsd src/lib/libc/gen sysctl.3 src/sbin/sysctl sysctl.8 sysctl.c src/share/man/man5 rc.conf.5 src/share/man/man9 Makefile sensor_attach.9 src/sys/conf f X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2007 23:54:36 -0000 On 18/10/2007 03:25, Alexander Leidinger wrote: > Quoting Poul-Henning Kamp (from Wed, 17 Oct 2007 > 20:24:14 +0000): > >> In message <47162F40.8000203@FreeBSD.org>, "Constantine A. Murenin" >> writes: >> >>> You didn't quote my other part of the reply about the ntpd/sensors.c >>> example. >> >> >> FreeBSD already supports an API for timekeeping events, complying >> with the only relevant standard in this area: RFC 2783 > > > He didn't talk about using this for timekeeping stuff in FreeBSD. He > used this an an example what could be done for RAID. I confirm. > As you didn't asked for a specific action regarding this I try to do > it. Please correct me if I don't get it right: > > Constantine, we have a standards compliant API for timekeeping events. > Any time related stuff should use this API. Please add a text and a > pointer, e.g., in the man-page and/or any other sensible place, which > tells that our RFC 2783 compliant API shall be used. Sure, in fact, I don't think such documentation is even needed -- OpenNTPD, the primary daemon that benefits from the timedelta sensors, resides in the ports tree, so any timedelta drivers could be implemented as loadable kernel modules and also reside in the ports tree, to be used together with OpenNTPD. I see no technical or architectural violations here, merely an extra alternative for the end users. The sensors framework itself, on the other hand, obviously cannot reside in the ports tree. C.