From owner-freebsd-ports Mon Mar 10 15:38:19 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAC9237B401; Mon, 10 Mar 2003 15:38:17 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB3B843FDF; Mon, 10 Mar 2003 15:38:15 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.8/8.12.8) with ESMTP id h2ANc8uP005258; Tue, 11 Mar 2003 00:38:08 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Conrad Sabatier Cc: freebsd-current@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG Subject: Re: bash2 or devfs problem? From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 10 Mar 2003 15:50:11 CST." Date: Tue, 11 Mar 2003 00:38:08 +0100 Message-ID: <5257.1047339488@critter.freebsd.dk> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message , Conrad Sabatier writes: >I've noticed that bash's process substitution fails under -CURRENT. > >For (an admittedly stupid, trivial) example: > >diff <(cat file1) <(cat file2) > >errors out with: > >diff: /dev/fd/63: No such file or directory >diff: /dev/fd/62: No such file or directory > >Apparently, the nodes for the named pipes are not being created as they should. > >Is this a bash problem, or something in devfs not working as expected? That's a good question... Has anybody found out what the standards conformant thing is for /dev/fd ? presently we do only 0,1 & 2, with the std{in,out,err} symlinks. If we are required to do all filedescriptors, we should do so with fdescfs by default. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message