Hi, >Presumably you could copy what "ip netns" does, which appears to be to look in >/var/run/netns . At least that is what an strace of that >command suggests.
This is true, but keep in mind that the output of "ip netns", as well as listing the contents of /var/run/netns, reflects only network namespaces which were created with the "ip netns" command. The "ip netns" userspace implementation consists of code which enables this, by creating /var/run/netns, bind mounting it, etc. Network namespaces which were created by other ways (like userspace applications using the clone() system call) will *not* be reflected by neither of them. Regards, Rami Rosen Intel Corporation N�����r��y����b�X��ǧv�^�){.n�+���z�^�)����w*jg��������ݢj/���z�ޖ��2�ޙ����&�)ߡ�a�����G���h��j:+v���w��٥