I have rootfs /
but within that I have /mnt/another_rootfs
which contains a second mounted rootfs.
I want to compare the files in them... but when I do somthng like: diff -r / /mnt/another_rootfs
I start to get all the mount points being compared (which I am not so interested in) but also the /
rootfs will also contain the second mounted /mnt/another_rootfs
... that is causing issues as well.
So I really just want to diff the files that are actually mounted on /
vs the files mounted on /mnt/another_rootfs
and not recurse into other mounts.
Is that possible?
/
-filesystems under it's own mount-points in a live-session and compare the mount-points. – mook765 Oct 01 '18 at 17:56