Thread (5 messages) 5 messages, 3 authors, 2024-05-14

[PATCH v2] proc.5: document 'subset' mount option.

From: <hidden>
Date: 2024-05-14 19:21:23
Subsystem: the rest · Maintainer: Linus Torvalds

From: Matteo Croce <redacted>

The 'subset=pid' option was added in commit 6814ef2d, document it.

Signed-off-by: Matteo Croce <redacted>
---
 man/man5/proc.5 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/man/man5/proc.5 b/man/man5/proc.5
index 8022ca49e..2567387d3 100644
--- a/man/man5/proc.5
+++ b/man/man5/proc.5
@@ -105,7 +105,12 @@ This group should be used instead of approaches such as putting
 nonroot users into the
 .BR sudoers (5)
 file.
-.\"
+.RE
+.TP
+.BR subset "=\fBpid\fP (since Linux 5.8)"
+.\" commit 6814ef2d992af09451bbeda4770daa204461329e
+Show only the specified subset of procfs hiding all top level files
+and directories in the procfs that are not related to tasks.
 .SS Overview
 Underneath
 .IR /proc ,
-- 
2.43.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help