From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.comp.lib.gnulib.bugs,gmane.emacs.devel Subject: Re: boot time on Linux Date: Thu, 10 Aug 2023 17:38:10 +0800 Message-ID: <87leejs0e5.fsf@yahoo.com> References: <87tttmpt5h.fsf@turtle.gmx.de> <20230808173430.GA27131@suse.com> <26226778.6c9BZvbsD2@nimes> <3732835.vtg8X0x55z@nimes> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1973"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Paul Eggert , Bruno Haible , Robert Pluim , bug-gnulib@gnu.org, =?utf-8?Q?P=C3=A1?= =?utf-8?Q?draig?= Brady , Sven Joachim , 64937@debbugs.gnu.org, Emacs Development , Thorsten Kukuk , Natanael Copa To: Natanael Copa Original-X-From: bug-gnulib-bounces+gnu-bug-gnulib=m.gmane-mx.org@gnu.org Thu Aug 10 11:38:48 2023 Return-path: Envelope-to: gnu-bug-gnulib@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qU27z-0000LW-8Q for gnu-bug-gnulib@m.gmane-mx.org; Thu, 10 Aug 2023 11:38:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qU27g-0003sm-NO; Thu, 10 Aug 2023 05:38:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qU27g-0003se-4L for bug-gnulib@gnu.org; Thu, 10 Aug 2023 05:38:28 -0400 Original-Received: from sonic313-56.consmr.mail.ne1.yahoo.com ([66.163.185.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qU27d-00048E-WE for bug-gnulib@gnu.org; Thu, 10 Aug 2023 05:38:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691660304; bh=FDV/nT3XboH05Tb23l6aHNp4YGQL6VXZgujDwyNjKks=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=g3WkHX9KA194vBIs3TWTnsNrnnfKtzU8xrACcBcI4Jt/DwYdFRMbJF6MB0xwEk50NgrOlOPUuZyX96ji2Uor4jnlLzgIk2keAShRuGkF0N2+DAy9lbXH9PHzn1G5Y5fsK3jHmIERIcnUTXhzXosxGk84Tb2hOTXNSyTalmiUQ3TBWcv6cuuB6eBbCYG7vCPxcJnpkgVU3gpMxwF27B1/zb5bIN/DNS9kEwX4v2uns7GMi4f5aHqnZiopSRKR3cv1mA5ZhwDVG14U+KAtsXAvG7CmdEf6ME5Rd8gHId2f7p0U4H60pEJdEkXODq5wwiP/u5giwaqh3m7sAzZKL2mUBQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691660304; bh=mJBwYp03bbyg0iOWgjNcy4cAEKcTtadcn5KlOw3jAQO=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Qb4VVK66fA9dMApAJ9IkWgdSq++4iJvyHaPK4TBatjHgz7moURWzGM0/5Nju8aQHejqA/RK+b9VGRfvmPGBsFfHjlbINiOCK1qbkp+OSEolpeMDATjLJaLO35KtzNKJXxVd5Wkmk9hRZ7Vu4xmi9B7FUtavGC8KnqAUiRZhBU6vpmvAOczREU9iekBQFH6R2IuWcJLJAiSGH/TuNmioHWbTILL5b+pgqMRdVJmtSbM7qGI56Sm3dZCfOLQID+x5dn9wrTsu+YRE5NOJjHXDurgj/WJWwT/s5Wqpg2CrduKM9hXIrugMzMVOll0YJ5AcH4x8fb9b7Xxziel4hOlQOTw== X-YMail-OSG: .4tAfasVM1k9gJVdrnzzkasf348zcO2dX2dhGSFEz8imfGYbry3cM1ud90DSifb V_hA2Plvxwg9GRbMQNLPUjPFPAHJM.fXe9eXRqZYlcfODBG9nRpgyHEfSW1zH4VI7OB30ZqsUYJG qpB8kE6i_SRUC_kkVS5isOFeQj5bgjZUP.IqtHm0c4q1gbyvHD9JADDJ7CWKc026OgRSK3s9iAMX cWdoTq8N5QxlMbtV0jJt3_l35bkYwEK_0L1ZiSmzhqcieZKU5gsdJRG5oAVmaJscRDIGcaNxcE4S A4Z7_ZZHNHUpfxhV8XgiVnNGLNWDQK0ONZy_9qVMK3zkUWsA5QRhc48LjEybn6AcAVLqFTr09.ti y9Vmee6hlkOBUNipK5qqLmfML9q_BaweGKcVBRKuR1RbDBhvAwnCcYMjciBVpYDXZgItjsAvjSdQ xAR.wYiDYg67ygMk9jdiFFBrg4g.kMn6K1Bg_sdCYHmp85BBTYoMdaxIeqD5k2ZMD1KUt3UEnenW OsRF_02L25qRe8FhToVQNfP5oJhX0pu__ADFnydVVXOk7jgUqSUQmDN.Re0BY7dNuplnHKmrTIHw byZUssLQPlA77YpK6bb2.fhfomwsC4ukJfvO0I3.BCNZLEl3yjFy2uXK7OQY6QwEuX8A3iNm6opY Nu0_Zo2w_O3atNcIkCsoFVeJHh2WOn.nsx_UtB38B559fWcUu9xJaYdeqWlTm7AzvxHXBRLAKhpr x_SzOiSv.VD.zO5a8KKWFyOrTsc.MQtel0fpSJyn0xd70PY9MurCgBMgTO7j1mUuxNClIudbUjKB B4sO5rMvmkFIuouIdi_FpLZSGoM5KW4J0Oz202teYg X-Sonic-MF: X-Sonic-ID: 3d5a86cc-1806-45f9-8106-8c385b8c86a7 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Thu, 10 Aug 2023 09:38:24 +0000 Original-Received: by hermes--production-sg3-69654d8bd-2bh2f (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID fd4bd37267ed1e969f8b7d8653d52779; Thu, 10 Aug 2023 09:38:17 +0000 (UTC) In-Reply-To: (Natanael Copa's message of "Thu, 10 Aug 2023 11:30:19 +0200") X-Mailer: WebService/1.1.21695 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.31; envelope-from=luangruo@yahoo.com; helo=sonic313-56.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+gnu-bug-gnulib=m.gmane-mx.org@gnu.org Original-Sender: bug-gnulib-bounces+gnu-bug-gnulib=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.comp.lib.gnulib.bugs:48138 gmane.emacs.devel:308515 Archived-At: Natanael Copa writes: > 2) Even if it does exist, there is no guarantee that the timestamp is > correct. There are machines without RTC (Raspberry PI for example), > and in this case the time stamp may end up to be the same every reboot > (if correctly set up it should save the shutdown time for the reboot > and set time to this on next boot, but there is no guarantee). If so, doesn't that discount the possibility of deriving the boot time from the timestamp of any particular file? Since AFAIU these machines lacking a TOY clock are relatively widespread?