From 4791ab9d40f3d6b6093c4935e77aebf5f389b98c Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 28 Apr 1999 10:04:48 +0000 Subject: Mention that you can only create a block or char special file using mknod(2). --- lib/libc/sys/mknod.2 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') diff --git a/lib/libc/sys/mknod.2 b/lib/libc/sys/mknod.2 index 2fa6342..76d73ef 100644 --- a/lib/libc/sys/mknod.2 +++ b/lib/libc/sys/mknod.2 @@ -108,6 +108,11 @@ The named file exists. .It Bq Er EFAULT .Fa Path points outside the process's allocated address space. +.It Bq Er EINVAL +Creating anything else than a block or character special +file (or a +.Em whiteout ) +is not supported. .El .Sh SEE ALSO .Xr chmod 2 , -- cgit v1.1