This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pablo.sole
Recipients drawks, loewis, pablo.sole, pitrou, rossburton
Date 2014-07-07.22:34:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I found another case where the result of ismount() is misleading. I'm using a FUSE-based filesystem controlled by a python supervisor daemon. 

When the fuse daemon dies and you try to access the filesystem with os.stat() it returns:
OSError: [Errno 107] Transport endpoint is not connected: '/tmp/fuse-test'. Although, the filesystem is actually mounted and you can verify this:
# cat /proc/self/mountinfo | grep fuse
26 25 0:20 / /tmp/fuse-test rw,nosuid,nodev,relatime - fuse /dev/fuse rw,user_id=1000,group_id=1000,default_permissions,allow_other

If the idea of ismount() is to show what paths are mountpoints, in this case it should return True, even if it's non-accessible (the fuse daemon died in this case, it might also happen for a stale NFS mount *not checked* ).
Date User Action Args
2014-07-07 22:34:43pablo.solesetrecipients: + pablo.sole, loewis, pitrou, rossburton, drawks
2014-07-07 22:34:43pablo.solesetmessageid: <>
2014-07-07 22:34:43pablo.solelinkissue2466 messages
2014-07-07 22:34:43pablo.solecreate