top | item 41915231

(no title)

xerxes901 | 1 year ago

/proc/PID/root is a view of that process’s mount namespace.

Also you can use nsenter(8) to run a command (or even a shell) under another process’s mount, pid, network, etc namespace.

discuss

order

zokier|1 year ago

mount namespace and root directory are bit different things though.

/proc/$PID/ns is the place to look for namespaces

aidenn0|1 year ago

Thanks!

It's exactly what I was looking for, and the world can now continue to improve without breaking any of my workflows :)