Re: [Users] reliably detect wether hardware_node, openvz_host or openvz_instance

2008-07-28 Thread Stanichenko Marat
Hello, this is also not very complicated -- cat /proc/self/status | awk '$1 == "envID:" {if ($2 != 0) {print("ve")} else {print("hn")}}' -- Stanichenko Marat Martin пишет: Hello, I'm looking for a way to reliably tell (thru shell) wether I'm on a pure hardware_node,

[Users] reliably detect wether hardware_node, openvz_host or openvz_instance

2008-07-28 Thread Martin
Hello, I'm looking for a way to reliably tell (thru shell) wether I'm on a pure hardware_node, openvz_host or inside an instance. I'd like to not rely on any tools from packages, I'd rather use information from /proc or /sys. So far I came up with a very simple test, I'm pretty sure it's somewher

Re: [Users] No source code in download.openvz.org/debian/

2008-07-28 Thread Alexander GQ Gerasiov
Mon, 28 Jul 2008 12:30:54 +0400 Kir Kolyshkin <[EMAIL PROTECTED]> wrote: > Ola, > > Can you please help Aleksandr? > > Aleksandr Levchuk wrote: > > Dear download.openvz.org Maintainer, > > > > For this Debain package > > http://download.openvz.org/debian/dists/etch/main/binary-amd > > 64/base/li

Re: [Users] No source code in download.openvz.org/debian/

2008-07-28 Thread Kir Kolyshkin
Ola, Can you please help Aleksandr? Aleksandr Levchuk wrote: Dear download.openvz.org Maintainer, For this Debain package http://download.openvz.org/debian/dists/etch/main/binary-amd 64/base/linux-image-2.6.24-openvz-24-004.1d1-amd64_004.1d1_a md64.deb would it be possible to publish the sourc