Date: Tue, 11 Mar 2003 00:38:08 +0100 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Conrad Sabatier <conrads@cox.net> Cc: freebsd-current@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG Subject: Re: bash2 or devfs problem? Message-ID: <5257.1047339488@critter.freebsd.dk> In-Reply-To: Your message of "Mon, 10 Mar 2003 15:50:11 CST." <XFMail.20030310155011.conrads@cox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <XFMail.20030310155011.conrads@cox.net>, 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5257.1047339488>