Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Apr 2006 17:30:26 GMT
From:      Chris Lightfoot <chris@ex-parrot.com>
To:        freebsd-doc@FreeBSD.org
Subject:   Re: docs/82296: ttys(5) man page misleads about use for non-getty processes
Message-ID:  <200604081730.k38HUQ4C013495@freefall.freebsd.org>

index | next in thread | raw e-mail

The following reply was made to PR docs/82296; it has been noted by GNATS.

From: Chris Lightfoot <chris@ex-parrot.com>
To: Giorgos Keramidas <keramida@freebsd.org>
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 18:28:11 +0100

 On Sat, Apr 08, 2006 at 12:09:32AM +0300, Giorgos Keramidas wrote:
 > On 2005-06-15 21:44, Chris Lightfoot <chris@ex-parrot.com> 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
 
 hmm. The machine where I encountered the problem is
 5.2.1-RELEASE. I haven't tried on anything subsequent.
 
 -- 
 ``Ashford Skiing Club is cancelled this evening due to the snow.''
   (allegedly heard on local radio in Kent)


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604081730.k38HUQ4C013495>