Re: [RFC PATCH] hwclock: --offset: Use offset instead of writing clock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10/07/2014 07:52 AM, Noé RUBINSTEIN wrote:
> Hi,
> 
>> I just submitted a patch on 14-09-27 that adds this functionality
>> without creating a new state file.
> 
> Nice! I guess this is the patchset:
> <http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/9918>
> 
> However I am not sure how those patches adds the functionality I am
> looking for. Can you explain how you would use hwclock to get and set
> the time without a write access to the hardware clock?

Sure, hwclock already has the ability to track the offset between the 
Hardware Clock and the System Clock(which presumably is the 'correct' time).
With my patch, hctosys will include the offset when setting the System 
Clock. Which is the functionality you want, right?





> 
> Regards,
> Noé.
> --
> 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
> 
--
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




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux