From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from executioner.lis.net.au ([203.35.83.3]) by speech.braille.uwo.ca with esmtp (Exim 3.35 #1 (Debian)) id 17jGo3-00036m-00 for ; Mon, 26 Aug 2002 06:09:11 -0400 Received: from uucp by executioner.lis.net.au with local-rmail (Exim 3.12 #1 (Debian)) id 17jGo0-0005An-00 for ; Mon, 26 Aug 2002 20:09:08 +1000 Received: from kerry by gotss1.gotss.net with local (Exim 3.12 #1 (Debian)) id 17jGaQ-00035V-00 for ; Mon, 26 Aug 2002 17:55:06 +0800 Date: Mon, 26 Aug 2002 17:55:06 +0800 To: speakup@braille.uwo.ca Subject: Re: gmt option in kernel Message-ID: <20020826175506.B11791@joana.gotss.net> References: <20020825125201.GA7947@romuald.net.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020825125201.GA7947@romuald.net.eu.org>; from greg@romuald.net.eu.org on Sun, Aug 25, 2002 at 07:52:01AM -0500 From: Kerry Hoath Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: No it is the hwclock program that is called from your rc scripts that sets the system clock; here is how it works: When you boot the system; the kernel clock is unset. You run hwclock or hwclock -u if your hardware clock keeps gmt. this sets the kernel's clock to the cmos clock. After this point; typing date will yield the right date. gettimeofday and other clock functions should return correct local time. As the machine shuts down; an rc.. script runs hwclock -u -w or hwclock -w if the time is localtime in the hardware clock. If the kernel is told that the time source is synchronized by ntpd or similar; it will write the time value back to the cmos clock every 11 minutes which is optimal for a room temperature quartz oscillator or so they tell me. You can tinker with this using adjtimex and friends. Regards, Kerry. On Sun, Aug 25, 2002 at 07:52:01AM -0500, Gregory Nowak wrote: > Hi all. > > I was pretty sure that there was a config option when doing make config where you had to answer "y" to something about the hardware clock being set to gmt. However, I've gone through the config twice, and can't find it. My kernel is 2.4.19. > > Was this perhaps in the 2.2.x kernels, or am I simply imagining things? > Thanks to Adam for the info about timeconfig. > Greg > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > -- Kerry Hoath: kerry@gotss.net kerry@gotss.eu.org or kerry@gotss.spice.net.au ICQ: 8226547 msn: kerry@gotss.net Yahoo: kerryhoath@yahoo.com.au