Who has "/var/lib/hwclock/adjtime"?

Peter S. Mazinger ps.m at gmx.net
Fri Sep 2 07:34:05 UTC 2005


On Thu, 1 Sep 2005, 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.
> >
> > Peter
> 
> 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 understand optional as follows: an FHS compliant system don't have to 
have it, but if it is present, it shouldnt be in /etc.

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the busybox mailing list