From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Natanael Copa Newsgroups: gmane.comp.lib.gnulib.bugs,gmane.emacs.devel Subject: Re: boot time on Linux Date: Thu, 10 Aug 2023 12:05:08 +0200 Message-ID: <20230810120508.4dd10092@ncopa-desktop.lan> References: <87tttmpt5h.fsf@turtle.gmx.de> <20230808173430.GA27131@suse.com> <26226778.6c9BZvbsD2@nimes> <3732835.vtg8X0x55z@nimes> <87leejs0e5.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2074"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Natanael Copa , Paul Eggert , Bruno Haible , Robert Pluim , bug-gnulib@gnu.org, =?ISO-8859-1?B?UOFkcmFpZw==?= Brady , Sven Joachim , 64937@debbugs.gnu.org, Emacs Development , Thorsten Kukuk To: Po Lu Original-X-From: bug-gnulib-bounces+gnu-bug-gnulib=m.gmane-mx.org@gnu.org Thu Aug 10 12:26:12 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 1qU2rr-0000H3-CL for gnu-bug-gnulib@m.gmane-mx.org; Thu, 10 Aug 2023 12:26:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qU2ra-00050y-9J; Thu, 10 Aug 2023 06:25:55 -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 1qU2r4-0004zF-Ar; Thu, 10 Aug 2023 06:25:22 -0400 Original-Received: from smtp.alpinelinux.org ([2a01:7e00:e000:2fc::20] helo=gbr-app-1.alpinelinux.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qU2qo-0004Xt-1a; Thu, 10 Aug 2023 06:25:21 -0400 Original-Received: from ncopa-desktop.lan (ti0056a400-6043.bb.online.no [85.165.98.174]) (Authenticated sender: ncopa@alpinelinux.org) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPSA id DCAE5223481; Thu, 10 Aug 2023 10:24:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alpinelinux.org; s=smtp; t=1691663100; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2mEmw1jxIUQ/dWaNHqGz6AjQSvnUBGekUdFFy5WSKA4=; b=W3FczaNsDpW5apx5SwUjclKsv1eLWK4T0QqrBzNwksZYYtcEzFHpr9Km8sBW/ii7Qtc/Tb rksD2m4OzPiBm2YLUbC7bkb3chIsXJbuMOXpnfHUBtQMM6eIYGo2JHxTwPTc0pRsHZzms3 TNEmZUt9Y3bbitSiEyCiIjX7i1FrBJM= In-Reply-To: <87leejs0e5.fsf@yahoo.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-alpine-linux-musl) Received-SPF: pass client-ip=2a01:7e00:e000:2fc::20; envelope-from=ncopa@alpinelinux.org; helo=gbr-app-1.alpinelinux.org 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, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 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:48140 gmane.emacs.devel:308517 Archived-At: On Thu, 10 Aug 2023 17:38:10 +0800 Po Lu wrote: > 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? That was sort of my point. It is better to avoid if possible. In emacs case I believe it is. -nc