From owner-freebsd-doc@FreeBSD.ORG Fri Apr 7 21:10:20 2006 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 527ED16A402 for ; Fri, 7 Apr 2006 21:10:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE68D43D68 for ; Fri, 7 Apr 2006 21:10:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k37LAJG3013753 for ; Fri, 7 Apr 2006 21:10:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k37LAJ8p013752; Fri, 7 Apr 2006 21:10:19 GMT (envelope-from gnats) Date: Fri, 7 Apr 2006 21:10:19 GMT Message-Id: <200604072110.k37LAJ8p013752@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Giorgos Keramidas Cc: Subject: Re: docs/82296: ttys(5) man page misleads about use for non-getty processes X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Giorgos Keramidas List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2006 21:10:20 -0000 The following reply was made to PR docs/82296; it has been noted by GNATS. From: Giorgos Keramidas To: Chris Lightfoot Cc: bug-followup@freebsd.org Subject: Re: docs/82296: ttys(5) man page misleads about use for non-getty processes Date: Sat, 8 Apr 2006 00:09:32 +0300 On 2005-06-15 21:44, Chris Lightfoot wrote: > The ttys(5) man page states in respect of each line of /etc/ttys, > > The first field is normally the name of the terminal special file as it > is found in /dev. However, it can be any arbitrary string when the asso- > ciated command is not related to a tty. > > However, this is not true -- the new_session command in init.c will > drop any /etc/ttys line whose first field does not give the name of a > file in /dev which can be opened: (line 937 et seq) Is this still true on the 5.X branch? I've just tested on CURRENT and the following entry worked as expected, even though I certainly don't have a /dev/nproc device node: nproc "/root/script" unknown on secure