[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: hwclock bug #74
From:       Mike Frysinger <vapier () gentoo ! org>
Date:       2005-09-28 3:08:34
Message-ID: 200509272308.34907.vapier () gentoo ! org
[Download RAW message or body]

On Tuesday 27 September 2005 10:41 pm, Rob Landley wrote:
> 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.

yeah

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

ok, adding support for both added like 35 bytes extra, but i'll make it an 
option :)
-mike
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic