On Fri, Sep 01, 2023 at 05:47:10PM +1000, Craig Small wrote: > I was looking at https://gitlab.com/psmisc/psmisc/-/issues/39 which is a > similar, but different issue. Same physical device but due to mount > namespaces different device ID. > I'd be curious if lsof finds the access.
$ lsof /usr/lib/x86_64-linux-gnu/libc.so.6 $ lsof | grep -F /usr/lib/x86_64-linux-gnu/libc.so.6 | tail -n 1 lsof 56367 kimoto mem REG 0,25 1834061 /usr/lib/x86_64-linux-gnu/libc.so.6 (path dev=0,27) (Note the somewhat unusual "path dev=..." bit.) Maybe https://github.com/lsof-org/lsof/issues/152 is related.

