From owner-freebsd-hackers Thu Nov 16 14:20:07 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA18940 for hackers-outgoing; Thu, 16 Nov 1995 14:20:07 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA18873 for ; Thu, 16 Nov 1995 14:19:57 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id JAA05714; Fri, 17 Nov 1995 09:13:33 +1100 Date: Fri, 17 Nov 1995 09:13:33 +1100 From: Bruce Evans Message-Id: <199511162213.JAA05714@godzilla.zeta.org.au> To: grog@lemis.de, hasty@rah.star-gate.com Subject: Re: linux' mknod and named pipes. Cc: hackers@freebsd.org Sender: owner-hackers@freebsd.org Precedence: bulk >> > It runs and is playable but the sound doesn't work >> > ktrace shows it fails trying to make a pipe in /tmp with >> > mknod(). FreeBSD's mknod is different enough to not >> > let this work. Any ideas? >> >> Sure, turn mknod(arg,arg1,0) into a bsd mkfifo call anything else for now ^^^POSIX >> just pass it thru to mknod 8) >Is there any good reason why we shouldn't modify mknod to make a fifo >when called with the appropriate parameters? The same reason we shouldn't modify thousands of other system calls to be compatible with thousands of other systems: it takes longer and gives worse results. Bruce