linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fstatat() AT_NO_AUTOMOUNT man page documentation
@ 2011-09-19  5:56 Michael Kerrisk
       [not found] ` <CAKgNAkgOvrNtz+JjXTqzOsH6wQBpQ2AAAG2kBGcCVzObYK=btg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Kerrisk @ 2011-09-19  5:56 UTC (permalink / raw)
  To: David Howells; +Cc: Ian Kent, npiggin, linux-man, autofs, linux-fsdevel

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/

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-20  8:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-19  5:56 fstatat() AT_NO_AUTOMOUNT man page documentation Michael Kerrisk
     [not found] ` <CAKgNAkgOvrNtz+JjXTqzOsH6wQBpQ2AAAG2kBGcCVzObYK=btg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-19 22:19   ` David Howells
     [not found]     ` <19937.1316470788-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-09-20  5:06       ` Michael Kerrisk
2011-09-20  8:52     ` David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).