aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-01-20 14:52:16 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-01-24 11:44:56 +0100
commitbbe02b45fbe41c3c25561bc69ca98064d27af3e5 (patch)
treed4908535e1d60aa543df64ba5bbc115d33df2a2e /man2
parentba03011f4074f4107725fd8ec9cee7aaaa544971 (diff)
downloadman-pages-bbe02b45fbe41c3c25561bc69ca98064d27af3e5.tar.gz
open.2: Note that O_TMPFILE requires per-filesystem support
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
-rw-r--r--man2/open.211
1 files changed, 11 insertions, 0 deletions
diff --git a/man2/open.2 b/man2/open.2
index acf38e1f4b..ccb1d260b2 100644
--- a/man2/open.2
+++ b/man2/open.2
@@ -358,6 +358,11 @@ in a fully formed state (using
.BR linkat (2)
as described above).
.RE
+.IP
+.B O_TMPFILE
+requires support by the underlying filesystem;
+.\" As at 3.13, there's support for at least ext2, ext3, ext4
+only a subset of Linux filesystems provide that support.
.TP
.BR O_DIRECT " (Since Linux 2.4.10)"
Try to minimize cache effects of the I/O to and from this file.
@@ -797,6 +802,12 @@ is set, the named file is a FIFO and
no process has the file open for reading.
Or, the file is a device special file and no corresponding device exists.
.TP
+.BR EOPNOTSUPP
+The filesystem containing
+.I pathname
+does not support
+.BR O_TMPFILE .
+.TP
.B EOVERFLOW
.I pathname
refers to a regular file that is too large to be opened.