From owner-cvs-all Thu Apr 8 14:12:28 1999 Delivered-To: cvs-all@freebsd.org Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (Postfix) with ESMTP id 31E3514D06; Thu, 8 Apr 1999 14:11:06 -0700 (PDT) (envelope-from nik@nothing-going-on.demon.co.uk) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.9.2/8.9.2) id UAA59784; Thu, 8 Apr 1999 20:24:26 +0100 (BST) (envelope-from nik) Date: Thu, 8 Apr 1999 20:24:26 +0100 From: Nik Clayton To: Greg Lehey Cc: Nick Sayer , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_time.c Message-ID: <19990408202426.A58558@catkin.nothing-going-on.org> References: <199904071636.JAA15238@freefall.freebsd.org> <19990408100716.I2142@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990408100716.I2142@lemis.com>; from Greg Lehey on Thu, Apr 08, 1999 at 10:07:16AM +0930 Organization: Nik at home, where there's nothing going on Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Thu, Apr 08, 1999 at 10:07:16AM +0930, Greg Lehey wrote: > Does this mean that if somebody accidentally sets the time to the > wrong year, the only thing he can do to fix it is to reboot in > single-user mode? I'm not convinced that this is a gain. What do > people doing Y2K tests do? As someone who does do Y2K tests (albeit not on FreeBSD) I'm qualified to grab this one. It's done in single user mode, just before the machine reboots. Typically, you've got so many other services running that might be time sensitive (cron/at are the obvious ones, but anything that does logging is a candidate, databases, and so on). On Solaris, this is accomplished with a trivial shell script linked in to /etc/rc0.d/K999newdate, which just reads in /new-date, and sets the date and time appropriately. # echo 123123501999 > /new-date # init 6 works quite nicely. The sound as 30 E450s, fully laden with disks, shut down almost simultaneously is really quite disturbing if you've been conditioned to *always* hear the noise of the fans in your machine rooms. N -- Bagel: The carbohydrate with the hole To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message