From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Vadim Kochan <vadim4j@gmail.com>, netdev@vger.kernel.org
Subject: Re: [PATCH iproute2] man ip-netns: Notice about loose device when do 'del'
Date: Sun, 15 Mar 2015 18:20:51 +0300 [thread overview]
Message-ID: <5505A353.5090405@cogentembedded.com> (raw)
In-Reply-To: <1426417044-6754-1-git-send-email-vadim4j@gmail.com>
Hello.
On 3/15/2015 1:57 PM, Vadim Kochan wrote:
> From: Vadim Kochan <vadim4j@gmail.com>
Noticed a few typos...
> Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
> ---
> man/man8/ip-netns.8 | 25 ++++++++++++++++++++++---
> 1 file changed, 22 insertions(+), 3 deletions(-)
> diff --git a/man/man8/ip-netns.8 b/man/man8/ip-netns.8
> index 28a9544..062564d 100644
> --- a/man/man8/ip-netns.8
> +++ b/man/man8/ip-netns.8
> @@ -46,6 +46,9 @@ ip-netns \- process network namespace management
> A network namespace is logically another copy of the network stack,
> with its own routes, firewall rules, and network devices.
>
> +By default process inherites network namespace from its parent. Initially all
s/inherites/inherits/.
> +the processes shares the same default network namespace from the init process.
s/shares/share/.
> +
> By convention a named network namespace is an object at
> .BR "/var/run/netns/" NAME
> that can be opened. The file descriptor resulting from opening
> @@ -88,14 +91,30 @@ network namespace and assigns NAME.
> .sp
> If NAME is present in /var/run/netns it is umounted and the mount
> point is removed. If this is the last user of the network namespace the
> -network namespace will be freed, otherwise the network namespace
> -persists until it has no more users. ip netns delete may fail if
> -the mount point is in use in another mount namespace.
> +network namespace will be freed and all physical devices will be moved to the
> +default one, otherwise the network namespace persists until it has no more
> +users. ip netns delete may fail if the mount point is in use in another mount
> +namespace.
>
> If
> .B -all
> option was specified then all the network namespace names will be removed.
>
> +It is possible to "loose" the physical device when it was moved to netns and
Not "lose"?
> +then this netns was deleted with a running process:
[...]
WBR, Sergei
next prev parent reply other threads:[~2015-03-15 15:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-15 10:57 [PATCH iproute2] man ip-netns: Notice about loose device when do 'del' Vadim Kochan
2015-03-15 11:47 ` Christoph Schulz
2015-03-15 11:37 ` Vadim Kochan
2015-03-15 15:20 ` Sergei Shtylyov [this message]
2015-03-15 15:25 ` Vadim Kochan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5505A353.5090405@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=netdev@vger.kernel.org \
--cc=vadim4j@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox