mirror of
git://git.proxmox.com/git/pve-common.git
synced 2025-02-04 01:46:59 +03:00
ProcFSTools:read_proc_mounts: increase read size
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
e8c13610c4
commit
a9b02ee637
@ -292,7 +292,7 @@ sub read_proc_net_route {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub read_proc_mounts {
|
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)
|
# mounts encode spaces (\040), tabs (\011), newlines (\012), backslashes (\\ or \134)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user