From: Christian Goeschel Ndjomouo Date: Fri, 30 Jan 2026 02:45:10 +0000 (-0500) Subject: getino: (manpage) improve grammar and wording X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=173b1f4d21d1cda6f326bcc2569b3b591aedfe68;p=thirdparty%2Futil-linux.git getino: (manpage) improve grammar and wording Signed-off-by: Christian Goeschel Ndjomouo --- diff --git a/misc-utils/getino.1.adoc b/misc-utils/getino.1.adoc index 8ca99825e..af654f2ea 100644 --- a/misc-utils/getino.1.adoc +++ b/misc-utils/getino.1.adoc @@ -23,15 +23,15 @@ getino - print the unique inode number associated to a process file descriptor o *getino* is a simple command that prints the inode numbers associated with the process file descriptor (pidfd) or namespace for all PIDs passed to it as arguments. -The kernel guarantees that the inode number associated with a process's file descriptor is exempt from reuse for the current boot cycle; therefore, a process can be uniquely identified by its PID and the inode number, conveniently so in the format '_PID:inode_'. -As an example, this enables race-free process signalling with the *kill(1)* command, which accepts addressing processes with the aforementioned format. +The kernel guarantees that the inode number associated with a process's file descriptor is exempt from reuse during the current boot cycle; therefore, a process can be uniquely identified by its PID and the inode number, conveniently so with the format '_PID:inode_'. +As an example, this enables race-free signalling of processes with *kill(1)*, which accepts the aforementioned _PID_ format. Inode numbers associated with a namespace for a given process are essentially namespace IDs, identical to the inode number reported by /proc/pid/ns/_nstype_, see *namespaces(7)* for more details. == OPTIONS *-p*, *--print-pid*:: -Print both the PID and pidfd/namespace inode separated by a colon _:_, in respective order. +Print both the PID and pidfd/namespace inode separated by a colon ':', in respective order. This format convention can be used to address processes in a race-free manner, e.g. for signalling with the *kill(1)* command. *--pidfs*:: @@ -74,7 +74,7 @@ unspecified failure == NOTES -*getino* requires support for the pidfs pseudo-filesystem, introduced in the Linux kernel version 6.9, to retrieve a valid inode for process file descriptor. +*getino* requires support for the pidfs pseudo-filesystem (introduced in Linux version 6.9), to retrieve a valid inode for a process file descriptor. == AUTHORS