Reading from named pipes

Koen Dejonghe koen_dejonghe at
Wed Aug 12 09:25:15 GMT 1998

Dear all,

Some time ago there was a discussion here on using named pipes as a
means of transferring data from the PC to UNIX. 

The following example from Brett Worth works very well.
$ mknod pipe p
$ cat pipe
Meanwhile over on the PC...
D:\tmp>echo hello > pipe
Then back at the Unix machine:
$ cat pipe

However it does not seem to work in the opposite direction. I am not
able to do a thing like:
$ echo "hello" > pipe
On the PC:
d:\tmp>type pipe
The last command releases the pipe on UNIX all right but it invariably
returns an empty string.

Any ideas somebody ?

Get your free address at

More information about the samba mailing list