Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!apollo!weber_w From: weber_w@apollo.COM (Walt Weber) Newsgroups: comp.sys.apollo Subject: Re: fifo files on Apollo-systems. Keywords: fifo files, interprocess communication Message-ID: <43d10afb.10b48@apollo.COM> Date: 14 Jun 89 02:08:00 GMT References: <1176@draken.nada.kth.se> Reply-To: weber_w@apollo.COM (Walt Weber) Organization: Apollo Computer, Chelmsford, MA Lines: 39 In article <1176@draken.nada.kth.se> larss@nada.kth.se (Lars Schylberg) writes: >A problem for unix programmers. > >I have a problem how to create fifo files on the Apollo >system. We are currently running BSD4.2 and 9.7.1. I believe that you will find that FIFO's were not supported under bsd4.2, and were added to bsd4.3. You would be able to create the fifo's using the Sys5 mknod which came with your Domain/IX (since you are running under sr9), or by compiling your program which calls mknod(2) under the sys5 systype. >When we chance to OS 10.1, (we just have it on 1 out 8 nodes now) >I've seen there is a command mknod(8) with the syntax: >/etc/mknod name [b] / [c] major minor > >I suppose that I want to create a character device with c >but what do I set major and minor to. >Lars Schylberg Email: larss@fmi.kth.se No, it is not a character special device. The released software does not appear to have a way to create the FIFO using bsd4.3 mknod(8). You should be able to write a short program (under bsd4.3) which would make the call to mknod(2) with the mode bit for S_IFIFO set (see sys/stat.h), or use the Sys5.3 version of mknod(8) (found listed as mknod(1m)). I have submitted apr #dd1ff in your name against this problem, and you will be receiving an official answer from us in writing. Sorry for the problem. ...walt... PS - Note that you can submit apr's via email (if you have internet access); type 'man mkapr' on an sr10 system. -- Walt Weber Apollo Computer (508) 256-6600 x8315 People's Republic of Massachusetts -The views expressed herein are personal, and not binding on ANYONE-