5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2025-01-24 14:03:35 +03:00

ProcFSTools:read_proc_mounts: increase read size

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier 2016-12-16 17:26:10 +01:00 committed by Wolfgang Bumiller
parent e8c13610c4
commit a9b02ee637

View File

@ -292,7 +292,7 @@ sub read_proc_net_route {
}
sub read_proc_mounts {
return PVE::Tools::file_get_contents("/proc/mounts");
return PVE::Tools::file_get_contents("/proc/mounts", 128*1024);
}
# mounts encode spaces (\040), tabs (\011), newlines (\012), backslashes (\\ or \134)