bpo-29707: Document that os.path.ismount() is not able to detect bind mounts. by serhiy-storchaka · Pull Request #11238 · python/cpython (original) (raw)

Maybe weasel it as "reliably detect" so people know that ismount() can be true for some bind mounts on the same filesystem.

Why does ismount check the inode values as opposed to special casing "/"? It doesn't help with a chroot environment, so what am I missing?