has anyone an idea how to read the current user's filesystem quota from a php script?
i thought of something like
- determine filesystem, a given absolute path is on
- call quota and rely on its constant output layout...
determination of the filesystem could be done with the mount point column from the quota command... but that's all a bit too tricky, i think.
is there a more 'stable' solution for this? i'd just like to get the number of free/total/used bytes of the current user (php is running under this uid).
thanks in advance 🙂