Eike Fokken added the comment:
Ok,
this is my proposal for the documentation. I hope you like it.
Is this the correct place to post it or can I make a direct pull request?
old:
.. function:: ismount(path)
Return ``True`` if pathname *path* is a :dfn:`mount point`: a point in a file
Eike Fokken added the comment:
I read the other issue, thanks.
What do you mean by "portable version of mountpoint"? Is there a portable
version of mountpoint or was it more a figure of speech?
Concerning the issue itself:
What are the priorities with the behaviour of ismount?
Eike Fokken added the comment:
mountpoint /nested_subvolume returns
/nested_subvolume is not a mountpoint
mountpoint /explicitely_mounted_subvolume returns
/explicitely_mounted_subvolume is a mountpoint
so agrees with findmnt.
--
___
Python
New submission from Eike Fokken :
Lets say, we have a btrfs partion with subvolumes @, mounted at /
and home, which was created directly inside @, such that after mounting @, it
can be found at /home.
Then
os.path.ismount("/home") returns True
I would not have expected that, b