Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2003 10:32:00 -0600 (CST)
From:      Conrad Sabatier <conrads@cox.net>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        freebsd-ports@FreeBSD.ORG, freebsd-current@FreeBSD.ORG
Subject:   Re: bash2 or devfs problem?
Message-ID:  <XFMail.20030311103200.conrads@cox.net>
In-Reply-To: <5257.1047339488@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

On 10-Mar-2003 Poul-Henning Kamp wrote:
> In message <XFMail.20030310155011.conrads@cox.net>, Conrad Sabatier writes:
>>
>>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.

OK, I took this to mean "use fdescfs", so I loaded the module and tried it
again.  Voila, it worked!

Thanks for the clarification there.

-- 
Conrad Sabatier <conrads@cox.net> - "In Unix veritas"

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?XFMail.20030311103200.conrads>