/dev/fd/3
Robert Watson
rwatson at freebsd.org
Sun Oct 24 12:45:04 PDT 2004
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 at fledge.watson.org Principal Research Scientist, McAfee Research
More information about the freebsd-stable
mailing list