summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2020-08-22 12:26:05 +0200
committernicolargo <nicolas@nicolargo.com>2020-08-22 12:26:05 +0200
commitc23586b6e9ab50271b3f5f5c71ceb96fbe2bdf30 (patch)
tree35ea5ef3b4b9bb91348e4b734a7053c499f03377
parent2bbb8f774922d4bc6bdd0a120a094aa766303d66 (diff)
Do not display zsh share twice
-rw-r--r--conf/glances.conf2
-rw-r--r--docs/aoa/fs.rst4
-rw-r--r--glances/plugins/glances_fs.py2
3 files changed, 3 insertions, 5 deletions
diff --git a/conf/glances.conf b/conf/glances.conf
index a9802d7f..f67db742 100644
--- a/conf/glances.conf
+++ b/conf/glances.conf
@@ -184,7 +184,7 @@ careful=50
warning=70
critical=90
# Allow additional file system types (comma-separated FS type)
-#allow=zfs
+#allow=shm
[irq]
# Documentation: https://glances.readthedocs.io/en/stable/aoa/irq.html
diff --git a/docs/aoa/fs.rst b/docs/aoa/fs.rst
index 37dae695..23d4eecd 100644
--- a/docs/aoa/fs.rst
+++ b/docs/aoa/fs.rst
@@ -27,13 +27,13 @@ User disk space usage Status
By default, the plugin only displays physical devices (hard disks, USB
keys). To allow other file system types, you have to enable them in the
-configuration file. For example, if you want to allow the ``zfs`` file
+configuration file. For example, if you want to allow the ``shm`` file
system:
.. code-block:: ini
[fs]
- allow=zfs
+ allow=shm
Also, you can hide mount points as well (in the following ``/boot``):
diff --git a/glances/plugins/glances_fs.py b/glances/plugins/glances_fs.py
index 6c1e618a..7d43d988 100644
--- a/glances/plugins/glances_fs.py
+++ b/glances/plugins/glances_fs.py
@@ -103,8 +103,6 @@ class Plugin(GlancesPlugin):
return self.stats
# Optionnal hack to allow logicals mounts points (issue #448)
- # Ex: Had to put 'allow=zfs' in the [fs] section of the conf file
- # to allow zfs monitoring
for fstype in self.get_conf_value('allow'):
try:
fs_stat += [f for f in psutil.disk_partitions(all=True) if f.fstype.find(fstype) >= 0]