"""
def __init__(self):
- name = None
- size = None
- used = None
- available = None
- capacity = None
- mount_point = None
+ self.name = None
+ self.size = None
+ self.used = None
+ self.available = None
+ self.capacity = None
+ self.mount_point = None
def __str__(self):
return '[Filesystem {0} mounted at {1}: {2}% used]' \
parses the output of cmd 'df', returns list of
:py:class:`FilesystemFillState`
+
+ ..todo:: replace call to df (which forks) by call to statvfs combined with
+ some way to find all mounted partitions (parse /proc/mounts
+ whenever it changes)
"""
# call