On Di, 26.06.18 09:39, Nikolaus Rath ([email protected]) wrote:

> Hi,
> 
> That makes sense.. but is there any way to find out *globally* what
> devices are mounted in *any* namespace?

If you a PID from any process that belongs to the container you can
list its mounts by doing /proc/$PID/mountinfo. You can also access its
files through the /proc/$PID/root pseudo directory. 

There's also /usr/lib/systemd/systemd-dissect --mount if you want to
look into a raw image and have it mounted externally just like
systemd-nspawn would do it.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to