[Devel] [RFC patch crash 0/2] namespace support for net command

2014-12-03 Thread Vasily Averin
Dear Dave, I would like to ask you to take a look and comment this patch set. I would like to add namespace support to net command. Currently crash already have ipcs and mount commands that supports namespaces, however it still had no command to look at list network devices and IP addresses,

[Devel] [RFC patch crash 1/2] net -n option renamed to -N

2014-12-03 Thread Vasily Averin
ipcs and mount commands uses -n key as namespace pointer clear place for similar option in net command Signed-off-by: Vasily Averin v...@openvz.org --- help.c | 6 +++--- net.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/help.c b/help.c index 6aa3e20..780966b 100644

[Devel] [RFC patch crash 2/2] namespace support for net command

2014-12-03 Thread Vasily Averin
now net -n pid|task should show list of network devices in specifed network namespace Signed-off-by: Vasily Averin v...@openvz.org --- defs.h| 1 + help.c| 5 - net.c | 46 +- symbols.c | 2 ++ 4 files changed, 40 insertions(+), 14

Re: [Devel] [RFC patch crash 0/2] namespace support for net command

2014-12-03 Thread Dave Anderson
- Original Message - Dear Dave, I would like to ask you to take a look and comment this patch set. I would like to add namespace support to net command. Currently crash already have ipcs and mount commands that supports namespaces, however it still had no command to look at list

Re: [Devel] [RFC patch crash 0/2] namespace support for net command

2014-12-03 Thread Dave Anderson
- Original Message - ... [ cut ] ... (3) The help page is confusing. Since the existing [pid | task] options are unique and unrelated to -n, it should be something like: net [-a] [[-s | -S [-xd]] [-R ref] [pid | taskp] [-n pid | taskp]] [-N addr] Sorry -- it should stand by