From owner-freebsd-stable@FreeBSD.ORG Sat Jan 15 14:59:42 2005 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 095BB16A4CE for ; Sat, 15 Jan 2005 14:59:42 +0000 (GMT) Received: from 212.106.238.57.adsl.jazztel.es (212.106.238.57.adsl.jazztel.es [212.106.238.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8309843D4C for ; Sat, 15 Jan 2005 14:59:40 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from [192.168.254.16] (orion.redesjm.local [192.168.254.16]) j0FExb6C002339; Sat, 15 Jan 2005 15:59:38 +0100 (CET) (envelope-from freebsd@redesjm.local) Message-ID: <41E92FDA.2070405@redesjm.local> Date: Sat, 15 Jan 2005 15:59:38 +0100 From: Jose M Rodriguez User-Agent: Mozilla Thunderbird 1.0 (X11/20050106) X-Accept-Language: es-es, es MIME-Version: 1.0 To: Doug White References: <41DA75E2.30302@redesjm.local> <20050113164715.G13904@carver.gumbysoft.com> In-Reply-To: <20050113164715.G13904@carver.gumbysoft.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-3; AVE: 6.29.0.5; VDF: 6.29.0.31; host: antares.redesjm.local) cc: stable@freebsd.org cc: Jose M Rodriguez Subject: Re: problems with devfs amd /dev/fd/ 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: Sat, 15 Jan 2005 14:59:42 -0000 Doug White escribió: >On Tue, 4 Jan 2005, Jose M Rodriguez wrote: > > > >>Hi, >> >>trying to import foomatic-rip, I found great changes under /dev/fd/ >>going from RELENG_4 to RELENG_5. >> >>Seems that /dev/fd/3 is used by several pipe construct like foomatic-rip >>to get a free backwards error channel. >> >>Digging a bit, I found that now, I need mount fdescfs to get this. I >>think this is not well documented in release notes. >> >> > >Nothing in the FreeBSD base system depends on /dev/fd. foomatic-rip a >third-party program. It would be appropriate for the port to print a >message reminding the user to mount fdescfs if they plan to use this >application, but not appropriate to enable it by default just for this one >port. > > > >>Also, seems that support /dev/fd/3 in devfs may be a good idea. Add a >>sysctl to control how many /dev/fd/n devfs create will be even better. >> >> > >fdesc is populated automatically based on the calling program. If the >program has file descriptor 3 open then /dev/fd/3 will be available. >Likewise, if it is closed, /dev/fd/3 will not exist. > > > Yes, but with fdescfs mounted, not with only devfs. This is not a so clean change from RELENG_4 to RELENG_5. I think this need a simple note on release docs. -- josemi