From ee83493613f347a7e9e76f4eb89fbdcbca3dadd6 Mon Sep 17 00:00:00 2001 From: David Limbeck Date: Wed, 3 Oct 2018 16:14:10 +0200 Subject: [PATCH] fix #1938: increase filesize limit for /proc/mounts Signed-off-by: David Limbeck --- src/PVE/ProcFSTools.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/ProcFSTools.pm b/src/PVE/ProcFSTools.pm index 80c0425..1b98b1e 100644 --- a/src/PVE/ProcFSTools.pm +++ b/src/PVE/ProcFSTools.pm @@ -292,7 +292,7 @@ sub read_proc_net_route { } sub read_proc_mounts { - return PVE::Tools::file_get_contents("/proc/mounts", 128*1024); + return PVE::Tools::file_get_contents("/proc/mounts", 512*1024); } # mounts encode spaces (\040), tabs (\011), newlines (\012), backslashes (\\ or \134) -- 2.39.2