Re: [PATCH 1/2] hwclock: Use /var/lib/hwclock/adjtime instead of /etc/adjtime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 11 March 2008, Alain Guibert wrote:
>  On Sunday, March 9, 2008 at 3:38:08 +0100, Karel Zak wrote:
> > a command line option would be nice.
>
> Under normal conditions, on a given machine, each and every invocation
> of hwclock has to use the same adjtime file. Using different files would
> give wrong results. 

obviously true, but this does not imply the next part ...

> So a command line option to select a file doesn't 
> make much sense, and would be prone to mismatches between various
> scripts, or be forgotten when the user invokes hwclock by hand.

global configuration files  handle this.  admins dont really run hwclock by 
hand.

> I think that searching both places and picking the first file found
> would be better. Perhaps overriden by a compile-time option forcing one
> place, or a list of places to search. Itself overriden by ADJTIME_PATH
> in environment.

this sounds pretty good
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux