Re: sys_settimeofday()

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 7 Dec 1999 20:30:37 +0000 (GMT)


> Can anyone think of a good reason as to why sys_settimeofday() should
> not update the hardware clock (aka RTC) as well?

Windows wants local time the kernel wants GMT.

> wondering if there are any other reasons. Fundamentally, I think it's
> needlessly confusing for a user to have to remember to update the
> hardware clock separately.

Don't muddle a tool problem with a kernel problem. Clock setting is policy.
The kernel has calls and drivers for both facilities. Fix your problem in
userspace

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