[PATCH 0/2] ntpd: retry name-resolution until success

Laurent Bercot ska-dietlibc at skarnet.org
Sun Feb 14 10:21:22 UTC 2016


On 11/02/2016 13:34, Bastian Bittorf wrote:
> with OpenWrt there is a feature where you have a "protected" area
> in RAM which is not lost during reboot and used for having a crashlog
> safed over a reboot. ("crashlog.o") see e.g:
>
> https://dev.openwrt.org/browser/trunk/target/linux/generic/patches-4.4/930-crashlog.patch
>
> we have extended this for always keeping a good timestamp over reboot.

  Eh, that's nice, but as much as it makes sense for a crash log - where the
device is not powercycled - it's only a partial solution as far as the
clock is concerned: keeping a reasonable clock value across accidental
reboots is good, but...

> ofcourse this does not work with a cold reboot.

  ... this. When the user powercycles the device, which hopefully happens
an order of magnitude more often than an accidental reboot, another
workaround still needs to be found.

  Thanks for the info, however. It's interesting.

-- 
  Laurent



More information about the busybox mailing list