lkml.org 
[lkml]   [1999]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: i386/RTC: old problem, new solution?
	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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.013 / U:3.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site