hwclock bug #74

David Seikel won_fang at yahoo.com.au
Tue Sep 27 20:44:35 UTC 2005


On Tue, 27 Sep 2005 16:01:22 -0400 Paul Fox <pgf at brightstareng.com>
wrote:

> i don't care either.  is the /var/lib path a "standard" of some
> sort?  if so i'd say try both.

Yes, it is a standard.  According to FHS (Filesystem Hierarchy Standard)
-

"/var/lib/hwclock : State directory for hwclock (optional)

Purpose

This directory contains the file /var/lib/hwclock/adjtime.

    Rationale: In FHS 2.1, this file was /etc/adjtime, but as hwclock
updates it, that was obviously incorrect."

Why this is incorrect is explained by -

"/etc : Host-specific system configuration

Purpose

The /etc hierarchy contains configuration files. A "configuration file"
is a local file used to control the operation of a program; it must be
static and cannot be an executable binary."

So, because adjtime is not static (it gets updated be hwclock) it should
live in /var/lib and not /etc.

-- 
Stuff I have no control over could be added after this line.

Send instant messages to your online friends http://au.messenger.yahoo.com 



More information about the busybox mailing list