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.