Re: Debugging times

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 16 Jul 2007 07:55:13 -0400
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
Received on Mon Jul 16 2007 - 10:45:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:14 UTC