[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash process substitution does not work in FreeBSD 5.2.1 with devfs(

From: Chet Ramey
Subject: Re: bash process substitution does not work in FreeBSD 5.2.1 with devfs(5)
Date: Tue, 05 Oct 2004 21:35:01 -0400
User-agent: Mozilla Thunderbird 0.8 (Macintosh/20040913)

Reinhard Speyerer wrote:
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: freebsd5.2.1
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='freebsd5.2.1' -DCONF_MACHTYPE='i386-unknown-freebsd5.2.1' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I/usr/local/include -g -O2 uname output: FreeBSD freebsd521 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 address@hidden:/usr/obj/usr/src/sys/GENERIC i386
Machine Type: i386-unknown-freebsd5.2.1

Bash Version: 3.0
Patch Level: 0
Release Status: release

    Bash process substition does not work in FreeBSD 5.2.1 where devfs(5)
    is mounted on /dev. Certain /dev/fd entries which are assumed to be
    present by bash are missing from /dev/fd.
    The same problem also exists for the bash-2.05b.007 package
    from FreeBSD 5.2.1.

    # Check that devfs(5) is mounted on /dev and execute a command
    # that uses process substitution.
    $ mount | grep devfs
    devfs on /dev (devfs, local)
    $ diff <(cat /etc/group)  <(cat /etc/group)
    diff: /dev/fd/63: No such file or directory
    diff: /dev/fd/62: No such file or directory
    $ ls /dev/fd
    0    1    2

Not known. As a temporary workaround I deleted the #define HAVE_DEV_FD 1
    from the generated config.h before compiling.

Upgrade.  Bash-3.0 tests for this at configure time.

``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]