]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
stat.2: Minor reworking of text describing AT_NO_AUTOMOUNT
authorMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 12 May 2020 09:35:35 +0000 (11:35 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 12 May 2020 09:35:35 +0000 (11:35 +0200)
No content changes. Just put things in a slightly more logical
order and add a few paragraph breaks for readability.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/stat.2

index 3b95c5172aa4ba24bc1da4f9b482cc49934500f9..8ef79f8a93cf671a369b1d8fbca14ce5cee74779 100644 (file)
@@ -340,15 +340,9 @@ Since Linux 4.14,
 .\" commit 42f46148217865a545e129612075f3d828a2c4e4
 also don't instantiate a nonexistent name in an
 on-demand directory such as used for automounter indirect maps.
-This flag can be used in tools that scan directories
-to prevent mass-automounting of a directory of automount points.
-The
-.B AT_NO_AUTOMOUNT
+This
 flag has no effect if the mount point has already been mounted over.
-This flag is Linux-specific; define
-.B _GNU_SOURCE
-.\" Before glibc 2.16, defining _ATFILE_SOURCE sufficed
-to obtain its definition.
+.IP
 Both
 .BR stat ()
 and
@@ -356,6 +350,17 @@ and
 act as though
 .B AT_NO_AUTOMOUNT
 was set.
+.IP
+The
+.B AT_NO_AUTOMOUNT
+can be used in tools that scan directories
+to prevent mass-automounting of a directory of automount points.
+.IP
+.IP
+This flag is Linux-specific; define
+.B _GNU_SOURCE
+.\" Before glibc 2.16, defining _ATFILE_SOURCE sufficed
+to obtain its definition.
 .TP
 .B AT_SYMLINK_NOFOLLOW
 If