Niels de Vos 79cf0321dd util: do not use mount-utils.IsLikelyNotMountPoint anymore
`IsLikelyNotMountPoint()` is an optimized version for `IsMountPoint()`
which can not detect all type of mounts (anymore). The slower
`IsMountPoint()` is more safe to use. This can cause a slight
performance regression in the case there are many mountpoints on the
system, but correctness is more important than speed while mounting.

Fixes: #4633
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2025-03-14 10:27:13 +00:00
..

Purpose

This repository defines an interface to mounting filesystems to be consumed by various Kubernetes and out-of-tree CSI components.

Consumers of this repository can make use of functions like 'Mount' to mount source to target as fstype with given options, 'Unmount' to unmount a target. Other useful functions include 'List' all mounted file systems and find all mount references to a path using 'GetMountRefs'

Community, discussion, contribution, and support

Learn how to engage with the Kubernetes community on the community page.

You can reach the maintainers of this repository at:

Code of Conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.

Contibution Guidelines

See CONTRIBUTING.md for more information.