hwclock bug #74
Jason Schoon
floydpink at gmail.com
Tue Sep 27 20:36:35 UTC 2005
Per a previous thread on this conversation, the FHS2.3 states that it should
live in /var/lib/hwclock/adjtime. In practice, I have seen many systems
still using /etc/adjtime.
I'd say either leave it alone and let the user make the symlink in
/etc/adjtime if they really feel it necessary, or make it a config option to
specify the name, defaulting to the /usr/lib location (even though I hate
adding too many additional config options...). Adding additional code on a
system trying to be small just doesn't seem like the right approach.
On 9/27/05, Paul Fox <pgf at brightstareng.com> wrote:
>
> > > can we close this bug?
> > >
> > > i believe that the current busybox hwclock applet is behaving
> > > correctly, and, indeed, it matches the behavior of any
> > > /sbin/hwclock i've found.
> >
> > please do ... i never managed to get my head around those hwclock bugs
> > (there's a couple open atm actually, so if you could review all of them
> ...)
>
> i only see the one. are you sure they're busybox bugs, and not uclibc?
> i don't do uclibc.
>
> > > 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.
>
> it'll waste some bytes, but we'll put tito on the job and he'll get 'em
> back for us. ;-)
>
> paul
> =---------------------
> paul fox, pgf at brightstareng.com
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20050927/ed487e6c/attachment-0001.htm
More information about the busybox
mailing list