Re: i386/RTC: old problem, new solution?

Guest section DW (dwguest@win.tue.nl)
Thu, 20 May 1999 02:18:44 +0200 (MET DST)


From: "Ulrich Windl" <ulrich.windl@rz.uni-regensburg.de>

maybe the problem running RTC in non-UTC time is known to you,
including its implications. Basically the kernel lacks two things
when booting:

1) time zone
2) Whether RTC runs UTC or local time

My solution would be:

1) Add a kernel parameter like RTC=UTC|local
2) Add a kernel parameter like TZ=+0200 (numeric notation ised in
EMail)

3) Enhance routines that set the system time to update the RTC as well

I some people can convince me that it's a good idea, I might develop
a patch...

Regards,
Ulrich

Hmm. You are acquainted with the settimeofday() system call?
Including the strange `warp clock' semantics on the first call?
You are also acquainted with the hwclock program?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/