Re: [PATCH] hwclock: add --systz option to set system clock from itself

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

 



On Mon, Mar 02, 2009 at 11:58:24AM +0000, Scott James Remnant wrote:
> On Fri, 2009-02-27 at 13:23 +0100, Karel Zak wrote:
> 
> > On Sat, Feb 14, 2009 at 12:12:54PM +0000, Scott James Remnant wrote:
> > > +This is an alternate option to
> > > +.B \-\-hctosys
> > > +that does not read the hardware clock, and may be used in system startup
> > > +scripts for recent 2.6 kernels where you know the System Time contains
> > > +the Hardware Clock time.  You must specify either
> >                              ^^^^^^^^^^^^^^^^^^^^
> > > +.B \-\-utc
> > > +or
> > > +.B \-\-localtime
> > > +to indicate whether an adjustment needs to be made.
> > 
> >  Is it really good idea to require the --{utc,localtime} option when
> >  we have all necessary information in /etc/adjtime? 
> > 
> I did it that way simply because where we call hwclock, the root
> filesystem is always read-only (both on startup and shutdown) so we
> don't use /etc/adjtime at all.
> 
> I guess it makes sense to make that more flexible.
> 
> Should I rework the patch to do this?

 Yes, please. Thanks!

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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