rtc again...

Geert Uytterhoeven geert at linux-m68k.org
Thu Aug 10 00:24:45 EST 2000


On Tue, 8 Aug 2000, Benjamin Herrenschmidt wrote:
>  - The first one, well hidden in kernel/time.c (generic code) is the call
> to warp_time(). This is an awful hack that seem to be done because PCs
> apparently also set the RTC to local time. This hack will cause the

It depends: Linux-only PCs are encouraged to run the RTC in UTC, while you
have to run the RTC in local time if you want Linux to coexist with some other
OSses, e.g. those from Redmond.

Which one is used is specified in user space. On Debian (I'm using 2.1 on an
isa32 box right here), I have the lines

    # Set GMT="-u" if your system clock is set to GMT, and GMT="" if not.
    GMT="-u"

in /etc/default/rcS.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list