On 04/04/12 14:14, /dev/rob0 wrote:
> The author posted that in early 2007, saying that most/all distros
> get this wrong. Is that still the case?
I don't know about "most distros" but anything that calls hwclock
--systz one way or another will get it right. That include RHEL6 and
its equivalents and current Fedora (I'm not sure how far back in Fedora,
but quite a way).
The critical udev rule is likely to be found in
/lib/udev/rules.d/88-clock.rules:
ACTION=="add", SUBSYSTEM=="rtc", ATTR{hctosys}=="1", RUN+="/sbin/hwclock
--systz --rtc=/dev/%k"
The "ATTR{hctosys}" refers to /sys/devices/*/*/rtc/rtc0/hctosys (or
similar). If it contains "1" then you have CONFIG_RTC_HCTOSYS=y in
the kernel config which means that rtc setting works nicely. I forget
the details, but it's described in the corresponding Kconfig file.
jch
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Netfilter Development]
[Linux Kernel Networking Development]
[Linux Networking Development]
[Linux Kernel Development]
[Linux Resources]
[LARTC]
[Bugtraq]
[Consulting]
[Free Internet Dating]
[Yosemite Forum]
[Photo]