From owner-freebsd-stable@FreeBSD.ORG Sun Oct 24 19:45:03 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 E34C016A4D0 for ; Sun, 24 Oct 2004 19:45:03 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97F6343D2D for ; Sun, 24 Oct 2004 19:45:03 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id i9OJidt0090597; Sun, 24 Oct 2004 15:44:39 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i9OJid9Y090594; Sun, 24 Oct 2004 20:44:39 +0100 (BST) (envelope-from robert@fledge.watson.org) Date: Sun, 24 Oct 2004 20:44:39 +0100 (BST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Stephen Montgomery-Smith In-Reply-To: <417C04E1.2040207@math.missouri.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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:45:04 -0000 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