Date: Sun, 24 Oct 2004 20:44:39 +0100 (BST) From: Robert Watson <rwatson@freebsd.org> To: Stephen Montgomery-Smith <stephen@math.missouri.edu> Cc: freebsd-stable@freebsd.org Subject: Re: /dev/fd/3 Message-ID: <Pine.NEB.3.96L.1041024204401.85623M-100000@fledge.watson.org> In-Reply-To: <417C04E1.2040207@math.missouri.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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"? Sounds good -- I've added a cross reference and a note on why it might be useful to fd.4 in CVS HEAD. I'll merge to RELENG_5 once the 5.3 code freeze is lifted. Thanks, Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1041024204401.85623M-100000>