Hello William, Am Sun, 19 Apr 2015 20:34:19 -0400 schrieb J William Piggott <elseifthen@xxxxxxx>: > I've been advocating for the removal of the compare function. One of > my justifications for doing so is that it has been broken from day > one and therefore nobody can be using for anything. > > So could you tell me how you are using it, and what useful purpose > it is serving for you? We use it in an automated test of the Linux system time on an embedded system. Recently we fixed a kernel bug introduced by one of the 3rd party patches that caused a huge (0.01%-0.1%) drift of the CLOCK_REALTIME due to incorrect PLL initialization. The corresponding test based on hwclock's compare is now added to our automated test system. The test runs hwclock -c forever and fails if any drift anomality is discovered. Looks like hwclock -c works correctly at least in our case. I think it could be rewritten using clock_gettime() instead of gettimeofday(). Regards, Alexey -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html