summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-06-26 19:38:50 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-06-26 19:38:50 -0700
commit36fc95c7aad0023ccfef9d80630d075c4df7c3b4 (patch)
tree22b3cce17a4f84beb9eaf2a37781ef29747f67aa
parentb788d717674c8789f0d16e65e0f428455dd3da48 (diff)
parent49cf8bd367f9b7f63e73562c5e141a8d5582d7e0 (diff)
Merge pull request #19 from Endres/master
Added XFS File System to the df call
-rwxr-xr-x[-rw-r--r--]archey2
1 files changed, 1 insertions, 1 deletions
diff --git a/archey b/archey
index 167cd6d..9ec6175 100644..100755
--- a/archey
+++ b/archey
@@ -221,7 +221,7 @@ class RAM:
class Disk:
def __init__(self):
- p1 = Popen(['df', '-Tlh', '--total', '-t', 'ext4', '-t', 'ext3', '-t', 'ext2', '-t', 'reiserfs', '-t', 'jfs', '-t', 'ntfs', '-t', 'fat32', '-t', 'btrfs', '-t', 'fuseblk'], stdout=PIPE).communicate()[0].decode("Utf-8")
+ p1 = Popen(['df', '-Tlh', '--total', '-t', 'ext4', '-t', 'ext3', '-t', 'ext2', '-t', 'reiserfs', '-t', 'jfs', '-t', 'ntfs', '-t', 'fat32', '-t', 'btrfs', '-t', 'fuseblk', '-t', 'xfs'], stdout=PIPE).communicate()[0].decode("Utf-8")
total = p1.splitlines()[-1]
used = total.split()[3]
size = total.split()[2]