Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2014 11:10:26 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Gary Aitken <freebsd@dreamchaser.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: bash fdesc requirement?
Message-ID:  <44ppbkevwt.fsf@lowell-desk.lan>
In-Reply-To: <548E72FA.4000506@dreamchaser.org> (Gary Aitken's message of "Sun, 14 Dec 2014 22:34:50 -0700")
References:  <548E72FA.4000506@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Gary Aitken <freebsd@dreamchaser.org> writes:

> Building up a 9.3-release system.
> After doing a pkg upgrade I see this message:
>
> Message for bash-4.3.30_1:
>  ======================================================================
> bash requires fdescfs(5) mounted on /dev/fd
> If you have not done it yet, please do the following:
>         mount -t fdescfs fdesc /dev/fd
> To make it permanent, you need the following lines in /etc/fstab:
>         fdesc   /dev/fd         fdescfs         rw      0       0
>
> Yet it seems to run just fine without it.  (simple test, start bash and
> exit...)
>
> Can someone explain what's going on, and why one would or would not 
> add the indicated line to /etc/fstab?

It's for Process Substitution (described briefly in the manual). I don't
know why the maintainer noted it as "required" -- in fact, I can't think
of any functionality it enables that can't also be done with named
pipes. But the maintainer added the note fairly recently, about the same
time that the dependency on procfs was removed, so I'm probably missing
something. 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ppbkevwt.fsf>