From 9d6299e824e388b900f7bf31ee48edd1f944d346 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 11 Jun 2008 15:26:41 +0000 Subject: [PATCH] Note that EEXIST applies, even if the pathname is a (possibly dangling) symbolic link. --- man2/mknod.2 | 3 +++ man3/mkfifo.3 | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/man2/mknod.2 b/man2/mknod.2 index fa06615c7..98a0f65e3 100644 --- a/man2/mknod.2 +++ b/man2/mknod.2 @@ -106,6 +106,9 @@ did not allow search permission. .B EEXIST .I pathname already exists. +This includes the case where +.I pathname +is a symbolic link, dangling or not. .TP .B EFAULT .IR pathname " points outside your accessible address space." diff --git a/man3/mkfifo.3 b/man3/mkfifo.3 index d86661e0a..961f6326f 100644 --- a/man3/mkfifo.3 +++ b/man3/mkfifo.3 @@ -24,7 +24,7 @@ .\" .\" changed section from 2 to 3, aeb, 950919 .\" -.TH MKFIFO 3 1995-09-03 "GNU" "Linux Programmer's Manual" +.TH MKFIFO 3 2008-06-12 "GNU" "Linux Programmer's Manual" .SH NAME mkfifo \- make a FIFO special file (a named pipe) .SH SYNOPSIS @@ -72,6 +72,9 @@ One of the directories in \fIpathname\fP did not allow search .TP .B EEXIST \fIpathname\fP already exists. +This includes the case where +.I pathname +is a symbolic link, dangling or not. .TP .B ENAMETOOLONG Either the total length of \fIpathname\fP is greater than