stat.2: Minor reworking of text describing AT_NO_AUTOMOUNT

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>
This commit is contained in:
Michael Kerrisk 2020-05-12 11:35:35 +02:00
parent 7200e79646
commit 3f1dc8e16a
1 changed files with 13 additions and 8 deletions

View 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