Re: Debugging times

[ Available lists | Index of freebsd-hackers | Month of Jul 2007 | Week of 16 Jul 2007 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
John Baldwin <jhb@freebsd.org>
Date
16 Jul 2007 12:45:46
Subject
Re: Debugging times
Message-ID
200707160755.14498.jhb@freebsd.org


[ Hide this part ]
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


Elapsed time: 0.172 seconds