summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archey6
1 files changed, 3 insertions, 3 deletions
diff --git a/archey b/archey
index b5f8f6c..676ce6b 100644
--- a/archey
+++ b/archey
@@ -17,7 +17,7 @@ display = [
'packages',
# 'fs:/boot',
# 'fs:/home',
-# 'fs:/MOUNT/POINT
+# 'fs:/MOUNT/POINT',
'fs:/' ]
# Array containing Values
@@ -136,9 +136,9 @@ def packages_display():
# File System Function
def fs_display(mount=''):
- p1 = Popen(['df', '-Th', mount], stdout=PIPE).communicate()[0]
+ p1 = Popen(['df', '-Ph', mount], stdout=PIPE).communicate()[0]
part = [line for line in p1.split('\n') if line][1]
- part = part.split()[3]
+ part = part.split()[2]
if mount == '/': mount = '/root'
fs = mount.rpartition('/')[2].title()
output (fs, part)