From owner-freebsd-stable@FreeBSD.ORG Sun Oct 24 19:39:14 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63DDB16A4CE; Sun, 24 Oct 2004 19:39:14 +0000 (GMT) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D86343D4C; Sun, 24 Oct 2004 19:39:14 +0000 (GMT) (envelope-from stephen@math.missouri.edu) Received: from [10.0.0.4] (12-216-240-169.client.mchsi.com[12.216.240.169]) by sccmmhc91.asp.att.net (sccmmhc91) with ESMTP id <20041024193913m9100ceebhe>; Sun, 24 Oct 2004 19:39:13 +0000 Message-ID: <417C04E1.2040207@math.missouri.edu> Date: Sun, 24 Oct 2004 14:39:13 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041018 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Watson References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: /dev/fd/3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2004 19:39:14 -0000 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