hwclock bug #74

Rob Landley rob at landley.net
Wed Sep 28 02:41:10 UTC 2005


On Tuesday 27 September 2005 15:01, Paul Fox wrote:

>  > > i think the only issue to be resolved with hwclock, if any, is
>  > > whether it should be trying to open /etc/adjtime (traditional) or
>  > > /var/lib/hwclock/adjtime (current behavior).
>  >
>  > i think we should either add support for both:
>  > FILE *fp = fopen(/var/lib/hwclock/adjtime)
>  > if (!fp) fp = fopen(/etc/adjtime)
>  >
>  > or add a config option so you can select which one you want ... anyone
>  > care either way ?
>
> i don't care either.  is the /var/lib path a "standard" of some
> sort?  if so i'd say try both.

The /var/lib thing is recent fresh breakage a recent version of... FHS 2.3, I 
think.  I believe the logic is that since /etc/passwd and /etc/shadow live 
in /etc we can't have anything writeable in there, because obviously those 
are never updated.

> it'll waste some bytes, but we'll put tito on the job and he'll get 'em
> back for us.  ;-)

Compile-time option.

Rob



More information about the busybox mailing list