Gurus,
I did my research (on google, this site and my local library) but I am *still* lost. I am trying to teach myself about `named pipes` playing around with MKFIFO (Why not?).
(1) It seems MKNOD is reserved to ROOT whereas MKFIFO is accessible to all users. Am I correct? If the answer is `yes,` can someone explain why? Based on what I read, both commands seem to produce the same results...
(2) I can create a fifo on a empty file e.g. `mkfifo empty_file` but when I attempt to edit it in VI (as myself or another userid), my editor never comes up. Is it because the blocking nature of the named pipe I created?
(3) It seems that when a process (here, VI) reads from a named pipe that has no data in it (here, `empty_file), the reading process is blocked. Fine. So, how do I write to it??
(4) Why can't I create a fifo out of an already existing file? Is it possible if I specify the correct mode e.g. `mkfifo already_existing_file +RW...`?
(5) Where can I find more *detailed* info about this topic?
Thanks in advance to all for sharing your knowledge. Al.
PS: I am on HP-UX B.11.00 U 9000/800.