Re: Debugging times
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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 9 之 11 篇):