mirror of
https://git.proxmox.com/git/pve-common
synced 2025-04-30 14:11:38 +00:00
ProcFSTools:read_proc_mounts: increase read size
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
608b99cdd7
commit
1663671958
@ -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…
Reference in New Issue
Block a user