linprocfs.4: Improve docs around pid/self entries

Mark <pid> as a placeholder and document that self is a symlink to a directory.

PR:		283080
Reviewed by:	ziaee
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D54358
This commit is contained in:
Michael Osipov
2025-12-24 19:12:25 +01:00
parent e1bfd541c7
commit 0d31189cbc
+4 -4
View File
@@ -1,7 +1,7 @@
.\" Written by Garrett Wollman
.\" This file is in the public domain.
.\"
.Dd May 29, 2025
.Dd December 26, 2025
.Dt LINPROCFS 4
.Os
.Sh NAME
@@ -126,11 +126,11 @@ Information about the swap device if any.
Time since the last boot and time spent in idle state.
.It Pa /compat/linux/proc/version
Version of the emulated linux system.
.It Pa /compat/linux/proc/pid
.It Pa /compat/linux/proc/ Ns Ao Ar pid Ac
A directory containing process information for process
.Pa pid .
.Ar pid .
.It Pa /compat/linux/proc/self
A directory containing process information for the current process.
A symlink to a directory containing process information for the current process.
.El
.Sh EXAMPLES
To mount a