Skip to content

Commit

Permalink
Use mountinfo to check mountinfo, To #50179395 (#3351)
Browse files Browse the repository at this point in the history
Signed-off-by: cheyang <[email protected]>
  • Loading branch information
cheyang authored Jul 21, 2023
1 parent 9d15c26 commit 4706d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csi/shell/check_bind_mounts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ VolumeName="$1"

MountPattern="pods/.*/volumes/kubernetes\.io~csi/$VolumeName/mount"

mount | grep $MountPattern
cat /proc/self/mountinfo | grep $MountPattern

0 comments on commit 4706d51

Please sign in to comment.