From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 16 12:45:46 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4241216A405; Mon, 16 Jul 2007 12:45:46 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 212AD13C4A7; Mon, 16 Jul 2007 12:45:37 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.7b8) with ESMTP id 196926975 for multiple; Mon, 16 Jul 2007 08:36:36 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l6GCSBkH031595; Mon, 16 Jul 2007 08:28:17 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Mon, 16 Jul 2007 07:55:13 -0400 User-Agent: KMail/1.9.6 References: <469B2787.9010302@fer.hr> In-Reply-To: <469B2787.9010302@fer.hr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707160755.14498.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 16 Jul 2007 08:28:18 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3680/Mon Jul 16 01:49:06 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: David Malone , freebsd-current@freebsd.org, Victor Snezhko , Ivan Voras Subject: Re: Debugging times X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2007 12:45:46 -0000 On Monday 16 July 2007 04:08:39 am Ivan Voras wrote: > Victor Snezhko wrote: > > > Also, this was a surprise to an unexperienced me, but I have also > > found that vfs_mount initializes RTC with the latest timestamp found > > on local file systems - this explains why kernel "worked" for Ivan on > > a hard drive. It didn't actually work, but used timestamp which was > > stored on filesystem during unmount. > > Wow - this is just astonishing - why would a file system have anything > to do with the RTC? It's more that we use the filesystem's timestamp as a way to validate the timestamp from the RTC and to do a fixup if the RTC appears to be dead. -- John Baldwin