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 ajax@redhat.com
Recipients ajax@redhat.com
Date 2010-01-06.20:18:17
SpamBayes Score 4.568544e-09
Marked as misclassified No
Message-id <1262809121.07.0.608953880629.issue7647@psf.upfronthosting.co.za>
In-reply-to
Content
Though the statvfs call exists in the posix module, the posix-defined values for the f_flag field are not.  This makes it hard to know whether a filesystem is readonly without also knowing the value for ST_READONLY on the machine you're running on.

Attached patch is against python2 svn, but probably applies to python3 too.
History
Date User Action Args
2010-01-06 20:18:41ajax@redhat.comsetrecipients: + ajax@redhat.com
2010-01-06 20:18:41ajax@redhat.comsetmessageid: <1262809121.07.0.608953880629.issue7647@psf.upfronthosting.co.za>
2010-01-06 20:18:18ajax@redhat.comlinkissue7647 messages
2010-01-06 20:18:18ajax@redhat.comcreate