From 385f63abb3b111d251d0df8a437772776cf77205 Mon Sep 17 00:00:00 2001 From: Tim Bishop Date: Sat, 30 Jul 2005 18:16:15 +0000 Subject: [PATCH] This commit was manufactured by cvs2git to create tag 'PYSTATGRAB_0_4'. Sprout from master 2005-07-30 10:53:28 UTC Tim Bishop 'Version 0.4 of pystatgrab.' Cherrypick from master 2005-07-30 18:16:14 UTC Tim Bishop 'Yes, and the REST of libstatgrab 0.12 too :)': _statgrab.pyx --- _statgrab.pyx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/_statgrab.pyx b/_statgrab.pyx index 1dd159f..393ca42 100644 --- a/_statgrab.pyx +++ b/_statgrab.pyx @@ -140,6 +140,13 @@ cdef extern from "statgrab.h": long long total_inodes long long used_inodes long long free_inodes + long long avail_inodes + long long io_size + long long block_size + long long total_blocks + long long free_blocks + long long used_blocks + long long avail_blocks cdef extern sg_fs_stats *sg_get_fs_stats(int *entries) @@ -448,6 +455,13 @@ def py_sg_get_fs_stats(): 'total_inodes': s.total_inodes, 'used_inodes': s.used_inodes, 'free_inodes': s.free_inodes, + 'avail_inodes': s.avail_inodes, + 'io_size': s.io_size, + 'block_size': s.block_size, + 'total_blocks': s.total_blocks, + 'free_blocks': s.free_blocks, + 'used_blocks': s.used_blocks, + 'avail_blocks': s.avail_blocks, } )) s = s + 1