Debian bug report logs - #944 , boring messages ----------------------------------------------------------------------- Message sent to debian-devel@pixar.com: Subject: Bug#944: clock (-u) question Reply-To: "James A. Robinson" , debian-bugs@pixar.com Resent-To: debian-devel@pixar.com Resent-From: "James A. Robinson" Resent-Sender: iwj10@cus.cam.ac.uk Resent-Date: Mon, 05 Jun 1995 15:48:17 GMT Resent-Message-ID: X-Debian-PR-Package: sysvinit X-Debian-PR-Keywords: Received: via spool for debian-bugs; Mon, 05 Jun 1995 15:48:17 GMT Received: with rfc822 via encapsulated-mail id 060515350025247; Mon, 05 Jun 1995 15:35:00 GMT Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0sIe8u-0006H0C; Mon, 5 Jun 95 08:32 PDT Received: from plato.simons-rock.edu by pixar.com with SMTP id AA00315 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 5 Jun 1995 08:31:08 -0700 Received: from simons-rock.edu by plato.simons-rock.edu with smtp (Smail3.1.29.1 #3) id m0sIe8G-000017C; Mon, 5 Jun 95 11:32 EDT Message-Id: To: jwl@atlanta.cray.com (James W. Lynch) Cc: Debian User , Debian Bugs In-Reply-To: Message from jwl@atlanta.cray.com (James W. Lynch) of "Mon, 05 Jun 1995 10:39:57 +0500." <9506051439.AA00372@dogwood.cray.com> Date: Mon, 05 Jun 1995 11:32:00 -0400 From: "James A. Robinson" Package: sysvinit Version: 2.56 > How is clock supposed to work? It seems like it might read the > CMOS clock and set the Unix time to some number. If so it has to > know what local time is (offset from GMT) if you leave off the > -u maybe? I tried to set TZ earlier in the boot script, but that > didn't affect it either. I'm also having a problem with clock. I *believe* it is because the init.d/boot file runs clock before it mounts the other file systems, and I happen to have /usr on a "local" file system. --- snip --- # Set GMT="-u" if your system clock is set to GMT, and GMT="" # if not. GMT="" # Set and adjust the CMOS clock. clock -s $GMT if [ ! -f /etc/adjtime ] then echo "0.0 0 0.0" > /etc/adjtime fi clock -a $GMT # Mount local file systems in /etc/fstab. echo "Mounting local file systems..." mount -avt nonfs --- snip --- Jim ----------------------------------------------------------------------- Message sent: From: iwj10@thor.cam.ac.uk (Ian Jackson) To: "James A. Robinson" Subject: Bug#944: Acknowledgement (was: clock (-u) question) In-Reply-To: References: Thank you for the problem report you have sent regarding Debian GNU/Linux. This is an automatically generated reply, to let you know your message has been received. It is being forwarded to the developers' mailing list for their attention; they will reply in due course. If you wish to submit further information on your problem, please send it to debian-bugs@pixar.com, but please ensure that the Subject line of your message starts with "Bug#944" or "Re: Bug#944" so that we can identify it as relating to the same problem. Please do not reply to the address at the top of this message, unless you wish to report a problem with the bug-tracking system. Ian Jackson (maintainer, debian-bugs) ----------------------------------------------------------------------- Ian Jackson / iwj10@thor.cam.ac.uk , with the debian-bugs tracking mechanism This page last modified 07:43:01 GMT Wed 01 Nov