On Thu, 21 May 2020 at 15:12, NeilBrown <neilb@xxxxxxx> wrote: > I would examine /proc/<PID>/fdinfo/3 and extract the 'mnt_id:' number, > then look for that (as the first field) in /proc/<PID>/mountinfo. The mountinfo looks very promising and a better way of uniquely working out where a file is mounted. Thanks! - Craig