From 20299a40771e450285087b83c7ee0f4b291166f1 Mon Sep 17 00:00:00 2001 From: marschap Date: Sat, 26 Feb 2005 10:08:50 +0000 Subject: [PATCH] for Linux add tmpfs to the list of filesystems not to be examined --- clients/lcdproc/machine_Linux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/lcdproc/machine_Linux.c b/clients/lcdproc/machine_Linux.c index d197ff2..542b1dd 100644 --- a/clients/lcdproc/machine_Linux.c +++ b/clients/lcdproc/machine_Linux.c @@ -252,7 +252,8 @@ int machine_get_fs(mounts_type fs[], int *cnt) sscanf(line, "%s %s %s", fs[x].dev, fs[x].mpoint, fs[x].type); - if(strcmp(fs[x].type, "proc") + if (strcmp(fs[x].type, "proc") + && strcmp(fs[x].type, "tmpfs") #ifndef STAT_NFS && strcmp(fs[x].type, "nfs") #endif