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 Thursday 13 March 2008, Alain Guibert wrote:
>  On Tuesday, March 11, 2008 at 8:22:15 -0400, Mike Frysinger wrote:
> > On Tuesday 11 March 2008, Alain Guibert wrote:
> >> 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.
>
> And for those global configuration files, the best way to give one
> adjfile to all hwclock calls is probably environment, isn't it?

config files generally setup options to pass, not environment variables.  if 
the option to control the location is available at runtime, providing an env 
var back door rather than command line is just awkward.  there is no sense in 
not simply providing a cmd line option like everything else in that case.
-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