Problems with command line scratch files in zsh
Juha Saarinen
juhasaarinen at gmail.com
Sun Jun 12 22:30:41 GMT 2005
On 6/13/05, Svein Halvor Halvorsen
<svein-freebsd-questions at theloosingend.net> wrote:
> * Mike Meyer wrote [2005-06-12 03:31 -0500]
> > > guru% wc <(cat /etc/motd)
> > > wc: /dev/fd/11: open: No such file or directory
>
> Did you mount the fdescfs filesystem? I have this in my /etc/fstab:
>
> fdesc /dev/fd fdescfs rw 0 0
With Bash 3.0.0.16_1, fdescfs not mounted:
#wc <(cat /etc/motd)
24 161 1122 /var/tmp//sh-np-3354758488
zsh, fdescfs mounted:
%sudo mount_fdescfs fdescfs /dev/fd
% mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1e on /tmp (ufs, local, soft-updates)
/dev/ad0s1f on /usr (ufs, local, soft-updates)
/dev/ad0s1d on /var (ufs, local, soft-updates)
/dev/ad0s1g on /home (ufs, local, soft-updates)
devfs on /var/named/dev (devfs, local)
fdescfs on /dev/fd (fdescfs)
% wc <(cat /etc/motd)
24 161 1122 /dev/fd/11
--
Juha
More information about the freebsd-questions
mailing list