mount.2, statfs.2: Add NOSYMFOLLOW flags to mount(2) and statfs(2)

Signed-off-by: Ross Zwisler <zwisler@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Ross Zwisler 2020-09-04 10:12:03 -06:00 committed by Michael Kerrisk
parent d98b1454fc
commit 527375b2c7
2 changed files with 14 additions and 0 deletions

View File

@ -280,6 +280,16 @@ the
flag to
.BR open (2)
was specified for all file opens to this filesystem).
.TP
.B MS_NOSYMFOLLOW
Do not follow symlinks when resolving paths. Symlinks can still be created,
and
.BR readlink (1),
.BR readlink (2),
.BR realpath (1)
and
.BR realpath (3)
all still work properly.
.PP
From Linux 2.4 onward, some of the above flags are
settable on a per-mount basis,

View File

@ -206,6 +206,10 @@ Writes are synched to the filesystem immediately (see the description of
.B O_SYNC
in
.BR open (2)).
.TP
.B ST_NOSYMFOLLOW
Symlinks are not followed when resolving paths; see
.BR mount (2).
.PP
Nobody knows what
.I f_fsid