Xref: utzoo comp.unix.questions:15313 comp.unix.wizards:17441 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!decuac!shlump.nac.dec.com!riscy.dec.com!croton.dec.com!frank From: frank@croton.dec.com (Frank Wortner) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: Portable mknod ?? does it exist? Keywords: mknod Message-ID: <1419@riscy.dec.com> Date: 1 Aug 89 16:29:06 GMT References: <178@cerc.wvu.wvnet.edu.edu> Sender: news@riscy.dec.com Followup-To: comp.unix.questions Organization: Digital Equipment Corporation, NYC Lines: 29 In article <178@cerc.wvu.wvnet.edu.edu>, drs@cerc.wvu.wvnet.edu (Darrell Schiebel) writes: = I have been attempting to write software utilizing named pipes on = several hardware platforms. The same code seems to behave differently = on each different platform. = = Sun (SunOS Release 4.0): = mknod works fine = read blocks = Silicon Graphics (Iris 4D1-3.1D IP6): = mknod works fine = read does not block = DEC (Ultrix-32 V3.0): = mknod works fine = open fails with error "No such device or address" (ERRNO: 6) = HP (HP-UX): = mknod fails with error "Invalid argument" (ERRNO: 22) I tried Darrell's example on a VAXstation II running UWS 2.0 (== Ultrix 3.0) and a DECstation 3100 running UWS 2.1 (== Ultrix 3.1), and I could not reproduce his results. I get: DEC (Ultrix-32 3.0/VAX and 3.1/RISC): mknod works fine read blocks Frank