Ivan Voras <[EMAIL PROTECTED]> writes:

>> 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?

Sorry, some sloppy wording on my part. That was system clock, not
RTC. The code which makes sure that system clock is initialized to
root fs timestamp is in vfs_mount.c since 1.34. Initially it was
commented as "sanity check". That might make some sense, although was
a surprise to me.

-- 
WBR, Victor V. Snezhko
E-mail: [EMAIL PROTECTED]


_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to