Author rossburton
Recipients rossburton
Date 2008-03-23.17:30:27
SpamBayes Score 0.184167
Marked as misclassified No
Message-id <1206293428.96.0.660613140218.issue2466@psf.upfronthosting.co.za>
In-reply-to
Content
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
(rw,user=ross,noatime,rsize=65536,wsize=65536,retry=1,nfsvers=3,posix,intr,addr=192.168.1.67)

$ 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")
False
>>> ismount("/media/home")
True
History
Date User Action Args
2008-03-23 17:30:29rossburtonsetspambayes_score: 0.184167 -> 0.184167
recipients: + rossburton
2008-03-23 17:30:28rossburtonsetspambayes_score: 0.184167 -> 0.184167
messageid: <1206293428.96.0.660613140218.issue2466@psf.upfronthosting.co.za>
2008-03-23 17:30:27rossburtonlinkissue2466 messages
2008-03-23 17:30:27rossburtoncreate