[Users] fake swap != 0 in VE?

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Tue Feb 12 07:13:02 EST 2008


On 12.02.2008 09:46, Kirill Korotaev wrote:
> the only way I'm aware of is /proc/meminfo
> just patch kernel to print something non-zero there always and your application most likely will become happy.
>   

Why not
mount --bind fakememinfo /proc/meminfo
inside the VE? Would be easiest, but the contents will not match real
meminfo because they do not get updated.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/



More information about the Users mailing list