projects
/
shutils.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c017e9c
)
add conky/showmounts.sh
author
Stefan Huber <shuber2@gmx.at>
Mon, 5 Nov 2012 08:13:14 +0000
(09:13 +0100)
committer
Stefan Huber <shuber2@gmx.at>
Mon, 5 Nov 2012 08:13:14 +0000
(09:13 +0100)
conky/showmounts.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/conky/showmounts.sh
b/conky/showmounts.sh
new file mode 100755
(executable)
index 0000000..
9365886
--- /dev/null
+++ b/
conky/showmounts.sh
@@ -0,0
+1,3
@@
+#!/bin/sh
+df -h | grep '/dev/s[rd][c-z0-9]' | awk '{ print $1 "\t" $5 " " $6}' | sed "s_/dev/__" | sort
+df -h | grep '/dev/mmc*' | awk '{ print $1 "\t" $5 " " $6}' | sed "s_/dev/__" | sort