os.mkfifo in linux vs freebsd

Dave Swegen dswegen at allstor-sw.co.uk
Wed Nov 14 10:12:56 CET 2001


On Wed, Nov 14, 2001 at 06:08:44AM +0000, Andrei Kulakov wrote:
> Hello,
> 
> I noticed mkfifo works differently in linux and freebsd. In linux, I can
> do os.mkfifo(file); f = open(file) and then read from f, etc.. Under
> freebsd, when I try to open created fifo, it hangs.. 
> 
> Anyone know how to deal with this? Is this the right place to ask?
> Should I go to some freebsd groups (I hear they don't like to answer
> questions, though)?

We discovered that creating a fifo on an ext2 fs with FreeBSD 4.1 made
the kernel explode. I have no idea if this has been fixed in later
versions of Freebsd. As far as I remember though there were no such
problems with ufs.

If you are using ext2 try switching to ufs and see if it works.

Cheers
	Dave




More information about the Python-list mailing list