From afbe4f34556b93df5c74d38e956e695bc5ad2f48 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 23 May 2020 08:43:21 +0200 Subject: [PATCH] Manual pages: nsenter.1: clarify the intro discussion The intro paragraph talks about entering the namespace of other processes. That's not quite accurate, since nsenter can be used (via a bind mount) to enter a namespace that has no member processes. So rework NAME and the intro paragraph in DESCRIPTION to remove mention of "processes". Signed-off-by: Michael Kerrisk --- sys-utils/nsenter.1 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sys-utils/nsenter.1 b/sys-utils/nsenter.1 index ea924f9095..147137bd89 100644 --- a/sys-utils/nsenter.1 +++ b/sys-utils/nsenter.1 @@ -1,14 +1,19 @@ .TH NSENTER 1 "June 2013" "util-linux" "User Commands" .SH NAME -nsenter \- run program with namespaces of other processes +nsenter \- run program in different namespaces .SH SYNOPSIS .B nsenter [options] .RI [ program .RI [ arguments ]] .SH DESCRIPTION -Enters the namespaces of one or more other processes and then executes the specified -\fIprogram\fP. If \fIprogram\fP is not given, then ``${SHELL}'' is run (default: /bin\:/sh). +The +.B nsenter +command executes +.I program +in the namespace(s) that are specified in the command-line options +(described below). +If \fIprogram\fP is not given, then ``${SHELL}'' is run (default: /bin\:/sh). .PP Enterable namespaces are: .TP -- 2.39.2