Ohh, one added point is that you are only looking for overlayfs mounts: lnk=$(readlink /proc/$(pgrep firefox)/exe); for ech in $(cut -f2,3 -d\ /proc/mounts | grep ' overlayfs$' | cut -f1 -d\ ); do [ -f "$ech$lnk" ] && echo "$ech$lnk"; done /usr/lib/firefox/firefox
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1007089 Title: overlayfs alters /proc/self/exe link(s), making result a dead link. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1007089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs