Who has "/var/lib/hwclock/adjtime"?
Mike Frysinger
vapier at gentoo.org
Fri Sep 2 00:11:29 UTC 2005
On Thursday 01 September 2005 07:01 pm, Rob Landley wrote:
> On Thursday 01 September 2005 07:52, Peter S. Mazinger wrote:
> > On Thu, 1 Sep 2005, Rob Landley wrote:
> > > So hwclock.c is looking for adjtime in a very strange place. I thought
> > > it was supposed to be /etc/adjtime (which can be a symlink if /etc
> > > isn't writeable. All sorts of stuff gets mad if /etc is read only,
> > > starting with "passwd"...)
> > >
> > > Is there a reason for this?
> >
> > FHS-2.3 is the reason.
>
> FHS 2.3 says it's optional, and notes that in FHS 2.1 it was in /etc. It
> is quite possible to put a symlink in /etc to some other location when /etc
> isn't writeable. And there are many things in /etc (like passwd) that get
> updated.
>
> I don't currently have a system that actually follows what FHS 2.3 says.
> They all have it in /etc. And burying it three directories deep seems
> really really stupid to me. (/var/lib? Since when is hwclock a library?)
/var/lib isnt for libraries, it's purpose is kind of like /var/cache but less
probe to cleaning
personally i dislike /var/lib/hwclock/ because the only file that is in that
dir is 'adjtime'
personally i think hwclock should check /var/lib/hwclock/adjtime and then fall
back to /etc/adjtime if it didnt exist
-mike
More information about the busybox
mailing list