From nobody Sun Jul 07 18:25:44 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WHG0M2kynz5QFSw for ; Sun, 07 Jul 2024 18:25:55 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "generic", Issuer "generic" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WHG0M0bJjz42Qs for ; Sun, 7 Jul 2024 18:25:54 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.17.1) with ESMTPS id 467IPjM6011241 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 7 Jul 2024 11:25:45 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.17.1/Submit) id 467IPiE6011240; Sun, 7 Jul 2024 11:25:44 -0700 (PDT) (envelope-from fbsd) Date: Sun, 7 Jul 2024 11:25:44 -0700 From: bob prohaska To: Mark Millard Cc: Warner Losh , Ronald Klop , "freebsd-arm@freebsd.org" Subject: Re: ntpd vs ntpdate with no hardware clock Message-ID: References: <454282477.15929.1720372600841@localhost> <3C703965-FE57-441D-9A64-0EB72C7E7E6F@yahoo.com> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C703965-FE57-441D-9A64-0EB72C7E7E6F@yahoo.com> X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US] X-Rspamd-Queue-Id: 4WHG0M0bJjz42Qs On Sun, Jul 07, 2024 at 10:54:07AM -0700, Mark Millard wrote: > On Jul 7, 2024, at 10:23, bob prohaska wrote: > > >> > > Root mod time seems fairly laggy: > > rprohask@www:~ % date > > Sun Jul 7 10:20:38 PDT 2024 > > rprohask@www:~ % ls -al / > > total 97 > > drwxr-xr-x 20 root wheel 512 Jul 5 13:21 . > > drwxr-xr-x 20 root wheel 512 Jul 5 13:21 .. > > unless I'm misusing ls -al, of course.... > > I mount with noatime in use. Do you? I think not, from etc/fstab: /dev/ufs/rootfs / ufs rw 1 1 [Pi3, 14.0-RELEASE-p6, / on microSD] > > Are you trying to show: > > time when file was created (-Ul) > time when file status was last changed (-cl) > time when file was last modified (-l) > time of last access (-ul) > > You implicitly specified "last modified". So > when was the last change to the root directory > representation? It likely is not modified often. > (Modifications to file content and subdirectories > would not modify / of itself.) > I just tried rprohask@www:~ % date Sun Jul 7 11:10:23 PDT 2024 rprohask@www:~ % ls -aul / total 97 drwxr-xr-x 20 root wheel 512 Nov 10 2023 . .... Trying rprohask@www:~ % ls -acl total 54956 drwxr-xr-x 8 rprohask rprohask 1024 Jul 7 11:10 . gives a sensible answer for near-current time. In sum, I was misusing ls -al / . Thanks for writing! bob prohaska