]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsfd.1.adoc: write about how pidfds are represented in NAME column
authorMasatake YAMATO <yamato@redhat.com>
Sat, 6 Aug 2022 20:04:06 +0000 (05:04 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Mon, 8 Aug 2022 20:52:48 +0000 (05:52 +0900)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
misc-utils/lsfd.1.adoc

index 21e25561e04a7cf4427de48897fccfb3f6dd3787..8ebabe3251cdee5a6e5fa8849773d3f21e76b7ae 100644 (file)
@@ -181,6 +181,24 @@ Access mode (rwx).
 
 NAME <``string``>::
 Name of the file.
+//
+// It seems that the manpage backend of asciidoctor has limitations
+// about emitting text with nested face specifications like:
+//
+//   `_u_` p
+//
+// Not only u but also p is decorated with underline.
+//
+For the most of all files, *lsfd* extracts their names
+from ``/proc/``_pid_``/fd/``_fd_ or ``/proc/``_pid_``/map_files/``_region_.
++
+Some files have special formats and information sources:
++
+pidfd:::
+pidfd: pid=_TARGET-PID_ comm=_TARGET-COMMAND_ nspid=_TARGET-NSPIDS_
++
+*lsfd* extracts _TARGET-PID_ and _TARGET-NSPIDS_ from
+``/proc/``_pid_``/fdinfo/``_fd_.
 
 NLINK <``number``>::
 Link count.