Hi!

I did not know about stavfs. Will send another patch using that. Thanks for
the hint!

Cheers,
Helga


On Wed, May 15, 2013 at 10:32 AM, Bernardo Dal Seno <[email protected]>wrote:

> On 15 May 2013 09:08, Thomas Thrainer <[email protected]> wrote:
> > Maybe I don't understand correctly, but why are we parsing the output of
> > `df` here? Couldn't we simply call os.statvfs ([0])?
>
> I think it's a good suggestion. I didn't know that function, thanks.
> And it solves the problem of the difference between root/non-root
> available space if/when noded will lose its root powers.
>
> Bernardo
>

Reply via email to