Commit 8e67a308 authored by Huamin Chen's avatar Huamin Chen

in nsenter mounter, read hosts PID 1 /proc/mounts to list the mounts

Signed-off-by: 's avatarHuamin Chen <hchen@redhat.com>
parent 9784dff9
......@@ -88,7 +88,7 @@ var _ = Interface(&NsenterMounter{})
const (
hostRootFsPath = "/rootfs"
hostProcMountsPath = "/rootfs/proc/mounts"
hostProcMountsPath = "/rootfs/proc/1/mounts"
nsenterPath = "nsenter"
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment