Files
kubernetes/pkg/util
Eric Paris f125ad88ce Rename IsMountPoint to IsLikelyNotMountPoint
IsLikelyNotMountPoint determines if a directory is not a mountpoint.
It is fast but not necessarily ALWAYS correct. If the path is in fact
a bind mount from one part of a mount to another it will not be detected.
mkdir /tmp/a /tmp/b; mount --bin /tmp/a /tmp/b; IsLikelyNotMountPoint("/tmp/b")
will return true. When in fact /tmp/b is a mount point. So this patch
renames the function and switches it from a positive to a negative (I
could think of a good positive name). This should make future users of
this function aware that it isn't quite perfect, but probably good
enough.
2015-08-14 18:45:43 -04:00
..
2015-08-05 17:30:03 -07:00
2015-08-11 13:55:37 -07:00
2015-08-12 02:39:15 -04:00
2015-08-05 17:52:56 -07:00
2015-08-07 11:18:16 -07:00
2015-08-07 11:18:16 -07:00
2015-08-05 17:30:03 -07:00
2015-06-15 17:37:24 +02:00
2015-08-05 17:30:03 -07:00
2015-05-11 17:18:05 -04:00
2015-07-01 16:12:15 -04:00
2015-06-29 15:30:19 -07:00
2015-08-06 11:39:29 +02:00
2015-08-06 11:39:29 +02:00
2015-08-07 11:18:16 -07:00
2015-08-05 17:52:56 -07:00