Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 2004 14:39:13 -0500
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: /dev/fd/3
Message-ID:  <417C04E1.2040207@math.missouri.edu>
In-Reply-To: <Pine.NEB.3.96L.1041024184649.85623G-100000@fledge.watson.org>
References:  <Pine.NEB.3.96L.1041024184649.85623G-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson wrote:
> On Sun, 24 Oct 2004, Stephen Montgomery-Smith wrote:
> 
> 
>>I have a program that needs to write to file descriptor 3 via /dev/fd/3. 
>>  But FreeBSD-5.3 doesn't let me do that, since only fd/0-2 exist.  How
>>do I do this?  "man fd" didn't help me. 
> 
> 
> You can mount fdescfs on top of /dev/fd using the following command as
> root:
> 
>     mount -t fdescfs fdescfs /dev/fd
> 

Thanks - it works.

How about adding fdescfs(5) to the "SEE ALSO" section of "man fd"?

Stephen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?417C04E1.2040207>