[net.unix-wizards] FIFO's a.k.a. named pipes

ptw@encore.UUCP (P. Tucker Withington) (02/28/85)

My sysV manual talks about opening a FIFO, but I can't seem to find how I
might create one.  Admittedly, I don't have an r2 manual.  I remember
a v7 add-on (from Rand, I think, or BBN) that provided for such a beast, but
I've never seen it in a Kosher version.  Is the provision in open wishful
thinking or do these things exists now?

P.S.  My 4.2 manual says I can't open a socket *yet*; does this imply that
someday I will be able to?

                               o.o      --tucker
                                ~

guy@rlgvax.UUCP (Guy Harris) (03/01/85)

> My sysV manual talks about opening a FIFO, but I can't seem to find how I
> might create one.

The "mknod" system call in S3/S5 is not privileged if you're creating an
inode of type S_IFIFO; that's how you create a FIFO.

	Guy Harris
	{seismo,ihnp4,allegra}!rlgvax!guy

mikeh@haddock.UUCP (03/02/85)

Hi,
	Carefully hidden in the System V Administrators manual
	is mknod(1), which glosses over how to make a fifo. The
	syntax is:

		/etc/mknod name p

	(How do you spell obfuscate?  U.S.G  8^)

						Mike Hiller
						Interactive Systems Corp