From 49cf8bd367f9b7f63e73562c5e141a8d5582d7e0 Mon Sep 17 00:00:00 2001 From: Endres Date: Thu, 26 Jun 2014 23:39:58 +0200 Subject: Added XFS File System to the df call --- archey | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 archey diff --git a/archey b/archey old mode 100644 new mode 100755 index 167cd6d..9ec6175 --- 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] -- cgit v1.2.3-54-g00ecf