mkfifo (vs. mknod)

Guy Harris guy at auspex.auspex.com
Sat Jun 30 06:26:32 AEST 1990


>is the basic difference here that mknod creates
>FIFOs for superuser only and mkfifo is available
>to all users?

I should hope not; S5 as supplied by AT&T (BSD doesn't have FIFOs yet,
although I expect it to in 4.4BSD if they make it POSIX-compliant)
allows anybody to use "mknod" (either the command or the routine) to
make FIFOs, although only the super-user can make other kinds of special
files.  "mkfifo()" in S5 is probably just a wrapper around "mknod()".



More information about the Comp.unix.questions mailing list