fstatat() AT_NO_AUTOMOUNT man page documentation
From: Michael Kerrisk <hidden>
Date: 2011-09-19 05:56:34
Also in:
autofs, linux-fsdevel
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Michael Kerrisk <hidden>
Date: 2011-09-19 05:56:34
Also in:
autofs, linux-fsdevel
Subsystem:
the rest · Maintainer:
Linus Torvalds
Hi David, I've written the following patch for AT__NO_AUTOMOUNT, which you added to the kernel a while back. Could you please review and ACK/NAK? Thanks, Michael
diff --git a/man2/fstatat.2 b/man2/fstatat.2
index 2868bfb..c0d97dd 100644
--- a/man2/fstatat.2
+++ b/man2/fstatat.2@@ -91,7 +89,16 @@ is absolute, then is ignored. .I flags -can either be 0, or include the following flag: +can either be 0, or include one or more of the following flags ORed: +.TP +.BR AT_NO_AUTOMOUNT " (since Linux 2.6.38)" +Don't automount the terminal ("basename") component of +.I pathname +if it is a directory that is an automount point. +This allows the caller to gather attributes of an automount point +(rather than the location it would mount). +This flag can be used in tools that scan directories +to prevent mass-automounting of a directory of automount points. .TP .B AT_SYMLINK_NOFOLLOW If
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/