Portable mknod ?? does it exist?

George Robbins grr at cbmvax.UUCP
Thu Aug 3 13:04:06 AEST 1989


In article <2320 at auspex.auspex.com> guy at auspex.auspex.com (Guy Harris) writes:
> 
>  >dec: decnod
>  >myfifo created
>  >ERRNO: 6
>  >Open Failed: No such device or address
>  >dec: ls -l myfifo
>  >crw-r--r--  1 drs      255, 255 Aug  1 16:54 myfifo
> 
> That ain't no FIFO, that's a character special file.  The "mknod" call
> in the original posting looked OK, so either there's something funny in
> that code or there's a bug in Ultrix that causes it to create character
> special files when you ask it to create FIFOs....

Righto!  A problem was described over in comp.unix.ultrix today with mknod
of named pipes on NFS filesystems either being remotely accessed or served
by Ultrix 3.X.  The pipe nodes are actually created correctly, but Ultrix
"sees" them as character special files on a filesystem it has remotely
mounted and screws up in other amusing ways when a Sun or other system
tries to access a pipe on a remotely mounted filesystem.

Hopefully, DEC will fix this.

The sample program should work fine on a locally mounted filesystem.

-- 
George Robbins - now working for,	uucp: {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing	arpa: cbmvax!grr at uunet.uu.net
Commodore, Engineering Department	fone: 215-431-9255 (only by moonlite)



More information about the Comp.unix.wizards mailing list