Re: [PATCH iproute2] ipnetns: enable to dump nsid conversion table

2019-10-15 Thread Stephen Hemminger
On Tue, 15 Oct 2019 09:33:24 +0200 Nicolas Dichtel wrote: > Le 14/10/2019 à 22:15, Stephen Hemminger a écrit : > > On Mon, 7 Oct 2019 15:44:47 +0200 > > Nicolas Dichtel wrote: > > > >> This patch enables to dump/get nsid from a netns into another netns. > >> > >> Example: > >> $ ./test.sh >

Re: [PATCH iproute2] ipnetns: enable to dump nsid conversion table

2019-10-15 Thread Nicolas Dichtel
Le 14/10/2019 à 22:15, Stephen Hemminger a écrit : > On Mon, 7 Oct 2019 15:44:47 +0200 > Nicolas Dichtel wrote: > >> This patch enables to dump/get nsid from a netns into another netns. >> >> Example: >> $ ./test.sh >> + ip netns add foo >> + ip netns add bar >> + touch /var/run/netns/init_net >

Re: [PATCH iproute2] ipnetns: enable to dump nsid conversion table

2019-10-14 Thread Stephen Hemminger
On Mon, 7 Oct 2019 15:44:47 +0200 Nicolas Dichtel wrote: > This patch enables to dump/get nsid from a netns into another netns. > > Example: > $ ./test.sh > + ip netns add foo > + ip netns add bar > + touch /var/run/netns/init_net > + mount --bind /proc/1/ns/net /var/run/netns/init_net > + ip n

Re: [PATCH iproute2] ipnetns: enable to dump nsid conversion table

2019-10-07 Thread Petr Oros
Nicolas Dichtel píše v Po 07. 10. 2019 v 15:44 +0200: > This patch enables to dump/get nsid from a netns into another netns. > > Example: > $ ./test.sh > + ip netns add foo > + ip netns add bar > + touch /var/run/netns/init_net > + mount --bind /proc/1/ns/net /var/run/netns/init_net > + ip netns s

[PATCH iproute2] ipnetns: enable to dump nsid conversion table

2019-10-07 Thread Nicolas Dichtel
This patch enables to dump/get nsid from a netns into another netns. Example: $ ./test.sh + ip netns add foo + ip netns add bar + touch /var/run/netns/init_net + mount --bind /proc/1/ns/net /var/run/netns/init_net + ip netns set init_net 11 + ip netns set foo 12 + ip netns set bar 13 + ip netns in