Re: ntpd vs ntpdate with no hardware clock
- In reply to: Mark Millard : "Re: ntpd vs ntpdate with no hardware clock"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 Jul 2024 18:25:44 UTC
On Sun, Jul 07, 2024 at 10:54:07AM -0700, Mark Millard wrote: > On Jul 7, 2024, at 10:23, bob prohaska <fbsd@www.zefox.net> 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