Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2007 07:55:13 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        David Malone <dwmalone@maths.tcd.ie>, freebsd-current@freebsd.org, Victor Snezhko <snezhko@indorsoft.ru>, Ivan Voras <ivoras@fer.hr>
Subject:   Re: Debugging times
Message-ID:  <200707160755.14498.jhb@freebsd.org>
In-Reply-To: <469B2787.9010302@fer.hr>
References:  <f6u94s$v6o$1@sea.gmane.org> <uk5t1xa08.fsf@indorsoft.ru> <469B2787.9010302@fer.hr>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707160755.14498.jhb>