mirror of https://github.com/mkerrisk/man-pages
Clarify use of mkfifo() versus mknod().
as per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455825
This commit is contained in:
parent
f16c6510df
commit
3920c8caf6
11
man2/mknod.2
11
man2/mknod.2
|
@ -175,13 +175,16 @@ or
|
|||
is not 0, the behavior of
|
||||
.BR mknod ()
|
||||
is unspecified."
|
||||
However, nowadays one should never use
|
||||
.BR mknod ()
|
||||
for this purpose; one should use
|
||||
.BR mkfifo (3),
|
||||
a function especially defined for this purpose.
|
||||
|
||||
Under Linux, this call cannot be used to create directories.
|
||||
One should make directories with
|
||||
.BR mkdir (2),
|
||||
and FIFOs with
|
||||
.BR mkfifo (3).
|
||||
.\" Unix domain sockets with .BR socket " (and " bind ),
|
||||
.BR mkdir (2).
|
||||
.\" and one should make Unix domain sockets with socket(2) and bind(2).
|
||||
|
||||
There are many infelicities in the protocol underlying NFS.
|
||||
Some of these affect
|
||||
|
|
Loading…
Reference in New Issue