Re: [PATCH] hwclock: do not create a zero adjfile

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

 



Hello Mike,

 On Monday, September 24, 2007 at 7:35:00 -0400, Mike Frysinger wrote:

> On Monday 24 September 2007, Alain Guibert wrote:
>> When hwclock --hctosys is started very early during the system
>> startup, with / still mounted read-only
> proper init systems would pass --noadjtime ...

But an "hwclock --hctosys --noadjtime" would not read an existing valid
/etc/adjtime, would not correct past drift, and so would pass a wrong
time to the system. The --noadjtime option requires to be conditioned on
not existing, or perhaps on not readable file. Then it works OK.

However it may also seem sensible to not uselessly create the problem
from the beginning. And such zero adjfile is useless, isn't it?


> please add a Signed-off-by tag like:
> Signed-off-by: Alain Guibert <alguibert+ulng@xxxxxxx>

Thanks, will do.


Alain.
-
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