[issue2466] os.path.ismount doesn't work for NTFS mounts

Ross Burton report at bugs.python.org
Sun Mar 23 18:30:29 CET 2008

New submission from Ross Burton <ross at burtonini.com>:

I'm not sure why this is, but ismount doesn't always work for me.  It
appears to fail on NTFS mounts.

$ mount
/dev/sda1 on /media/windows type ntfs (ro,noexec,nosuid,nodev,user=ross)
redbeard.local:/home on /media/home type nfs

$ python
Python 2.4.5 (#2, Mar 12 2008, 00:15:51) 
[GCC 4.2.3 (Debian 4.2.3-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> ismount("/media/windows")
>>> ismount("/media/home")

components: Library (Lib)
messages: 64370
nosy: rossburton
severity: normal
status: open
title: os.path.ismount doesn't work for NTFS mounts
type: behavior
versions: Python 2.4

Tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list