Date: Mon, 21 Sep 2020 17:03:46 -0700 From: Mark Millard <marklmi@yahoo.com> To: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Odd diff -qr / /mnt "Only in " results Message-ID: <17427EED-594B-4FD6-B124-61CC1A7BA396@yahoo.com> In-Reply-To: <FABEFBB0-7309-4B81-9CB0-4E757C8FDD19@yahoo.com> References: <71A94120-99D0-4089-A790-0DEF28A1E091@yahoo.com> <FABEFBB0-7309-4B81-9CB0-4E757C8FDD19@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-Sep-21, at 16:16, Mark Millard <marklmi at yahoo.com> wrote: > On 2020-Sep-21, at 13:38, Mark Millard <marklmi at yahoo.com> wrote: >=20 >> Context: head -r365932 (on a Rock64). But this could well not >> be new. >>=20 >> First a look at the / context and then the /mnt/ : >>=20 >> # ls -laT / >> total 225 >> drwxr-xr-x 24 root wheel 512 Sep 21 02:20:37 2020 . >> drwxr-xr-x 24 root wheel 512 Sep 21 02:20:37 2020 .. >> -rw-r--r-- 2 root wheel 1083 Jul 8 23:53:07 2020 .cshrc >> drwxr-xr-x 2 root wheel 512 Jan 31 19:57:35 2017 .libs >> -rw-r--r-- 1 root wheel 1349 Sep 15 18:45:26 2019 .profile >> -rw------- 1 root wheel 1024 Dec 31 16:00:41 2009 .rnd >> drwxrwxr-x 2 root operator 512 Aug 8 19:02:22 2020 .snap >> -r--r--r-- 1 root wheel 6170 Feb 1 04:48:34 2020 COPYRIGHT >> drwxr-xr-x 2 root wheel 1024 Sep 21 01:56:39 2020 bin >> drwxr-xr-x 24 root wheel 1536 Sep 21 01:58:43 2020 boot >> dr-xr-xr-x 18 root wheel 512 Sep 21 02:20:24 2020 dev >> -rw------- 1 root wheel 4096 Sep 21 02:20:37 2020 entropy >> drwxr-xr-x 27 root wheel 2560 Sep 21 01:58:16 2020 etc >> drwxr-xr-x 5 root wheel 2048 Sep 21 01:56:39 2020 lib >> drwxr-xr-x 3 root wheel 512 Sep 21 01:56:38 2020 libexec >> drwx------ 2 root wheel 98816 Jul 24 21:28:53 2020 lost+found >> drwxr-xr-x 2 root wheel 512 Mar 30 05:23:44 2020 media >> drwxr-xr-x 6 root wheel 512 Sep 21 01:49:57 2020 microsd_ufs >> drwxr-xr-x 23 root wheel 512 Mar 30 05:23:44 2020 mnt >> drwxr-xr-x 2 root wheel 512 Mar 30 05:23:44 2020 net >> dr-xr-xr-x 2 root wheel 512 Mar 30 05:23:44 2020 proc >> drwxr-xr-x 2 root wheel 2560 Sep 21 01:56:38 2020 rescue >> drwxr-xr-x 17 root wheel 2560 Mar 30 05:23:44 2020 root >> drwxr-xr-x 2 root wheel 2560 Sep 21 01:56:38 2020 sbin >> lrwxr-xr-x 1 root wheel 11 May 1 19:22:54 2018 sys -> = usr/src/sys >> drwxrwxrwt 59 root wheel 3584 Sep 21 04:16:21 2020 tmp >> drwxr-xr-x 1 root wheel 16384 Dec 31 16:00:00 1979 usb_efi >> drwxr-xr-x 16 root wheel 512 Mar 30 05:23:44 2020 usr >> drwxr-xr-x 26 root wheel 512 Sep 21 02:20:36 2020 var >> drwxr-xr-x 3 root wheel 512 Sep 18 13:04:15 2018 wrkdirs >>=20 >> # ls -laT /mnt >> total 120 >> drwxr-xr-x 23 root wheel 512 Mar 30 05:23:44 2020 . >> drwxr-xr-x 24 root wheel 512 Sep 21 02:20:37 2020 .. >> -rw-r--r-- 2 root wheel 1083 Jul 16 16:41:10 2020 .cshrc >> drwxr-xr-x 2 root wheel 512 Jan 31 19:57:35 2017 .libs >> -rw-r--r-- 1 root wheel 1349 Sep 15 18:45:26 2019 .profile >> -rw------- 1 root wheel 1024 Dec 31 16:00:41 2009 .rnd >> drwxrwxr-x 2 root operator 512 Mar 14 19:02:19 2020 .snap >> -r--r--r-- 1 root wheel 6170 Feb 1 04:48:34 2020 COPYRIGHT >> drwxr-xr-x 2 root wheel 1024 Sep 21 03:32:17 2020 bin >> drwxr-xr-x 13 root wheel 1024 Sep 21 03:32:17 2020 boot >> dr-xr-xr-x 2 root wheel 512 Mar 30 05:23:44 2020 dev >> -rw------- 1 root wheel 4096 Sep 13 14:02:57 2020 entropy >> drwxr-xr-x 27 root wheel 2560 Sep 21 03:36:49 2020 etc >> drwxr-xr-x 5 root wheel 2048 Sep 21 03:32:16 2020 lib >> drwxr-xr-x 3 root wheel 512 Sep 21 03:32:16 2020 libexec >> drwx------ 2 root wheel 512 Mar 17 16:16:42 2020 lost+found >> drwxr-xr-x 2 root wheel 512 Mar 30 05:23:44 2020 media >> drwxr-xr-x 2 root wheel 512 Mar 17 16:16:08 2020 microsd_ufs >> drwxr-xr-x 2 root wheel 512 Mar 30 05:23:44 2020 mnt >> drwxr-xr-x 2 root wheel 512 Mar 30 05:23:44 2020 net >> dr-xr-xr-x 2 root wheel 512 Mar 30 05:23:44 2020 proc >> drwxr-xr-x 2 root wheel 2560 Sep 21 03:32:16 2020 rescue >> drwxr-x--- 18 root wheel 2048 Mar 30 05:23:44 2020 root >> drwxr-xr-x 2 root wheel 2560 Sep 21 03:32:13 2020 sbin >> lrwxr-xr-x 1 root wheel 11 May 1 19:22:54 2018 sys -> = usr/src/sys >> drwxrwxrwt 60 root wheel 5120 Mar 30 05:23:44 2020 tmp >> drwxr-xr-x 16 root wheel 512 Mar 30 05:23:44 2020 usr >> drwxr-xr-x 26 root wheel 512 Mar 30 05:23:44 2020 var >> drwxr-xr-x 3 root wheel 512 Sep 18 13:04:15 2018 wrkdirs >>=20 >> # df -m >> Filesystem 1M-blocks Used Avail Capacity Mounted on >> /dev/gpt/Rock64root 195378 105474 74273 59% / >> devfs 0 0 0 100% /dev >> /dev/label/Rock64root 109101 362 100010 0% /microsd_ufs >> /dev/msdosfs/RPI4EFIFS 99 7 92 8% /usb_efi >> /dev/gpt/PINE642Groot 195378 76731 103016 43% /mnt >>=20 >>=20 >> But when I do the "diff -qr / /mnt" I get the following "Only in " >> notices: >>=20 >> Only in /mnt: .cshrc >> Only in /mnt: .libs >> Only in /mnt: .profile >> Only in /mnt: .rnd >> Only in /mnt: .snap >> Only in /mnt: COPYRIGHT >> Only in /mnt: bin >> Only in /mnt: boot >> Only in /mnt: dev >> Only in /mnt: entropy >> Only in /mnt: etc >> Only in /mnt: lib >> Only in /mnt: libexec >> Only in /mnt: lost+found >> Only in /mnt: media >> Only in /mnt: microsd_ufs >> Only in /mnt: mnt >> Only in /mnt: net >> Only in /mnt: proc >> Only in /mnt: rescue >> Only in /mnt: sbin >> Only in /mnt: sys >> Only in /mnt: tmp >> Only in /mnt: usr >> Only in /mnt: var >> Only in /mnt: wrkdirs >>=20 >> It still does the diff's inside the likes of /usr/ and /mnt/usr/ . >=20 > Well, after the complete diff I went looking in places that I > had expected a few differences to show (but did not). I found > some files with differences. >=20 > So it appears that at least some of those "Only in " notices > did result in lack of comparisons in the areas reported. >=20 >> This is not something that I normally do so I've no clue what range >> of versions do this. >>=20 >=20 >=20 Bad interpretation on my part: The "Only in" /mnt notices are from diffing /mnt and /mnt/mnt . I did not notice at the time. I've still not figured out how I ended up finding more different files than reported by the global diff. For now, presume more operator errors, I guess. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17427EED-594B-4FD6-B124-61CC1A7BA396>