mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
in nsenter mounter, read hosts PID 1 /proc/mounts to list the mounts
Signed-off-by: Huamin Chen <hchen@redhat.com>
This commit is contained in:
parent
9784dff94e
commit
8e67a308ed
@ -88,7 +88,7 @@ var _ = Interface(&NsenterMounter{})
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
hostRootFsPath = "/rootfs"
|
hostRootFsPath = "/rootfs"
|
||||||
hostProcMountsPath = "/rootfs/proc/mounts"
|
hostProcMountsPath = "/rootfs/proc/1/mounts"
|
||||||
nsenterPath = "nsenter"
|
nsenterPath = "nsenter"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user