Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2017 12:29:35 -0700
From:      "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
To:        Warner Losh <imp@FreeBSD.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r315733 - in head: include lib/libc/gen libexec/getty
Message-ID:  <7D689BCF-0E33-4487-8038-912988D8EDDD@gmail.com>
In-Reply-To: <201703221900.v2MJ0gC8058678@repo.freebsd.org>
References:  <201703221900.v2MJ0gC8058678@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_C4012677-D6C5-4B10-9899-91E7A93DA0A7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Mar 22, 2017, at 12:00, Warner Losh <imp@FreeBSD.org> wrote:
>=20
> Author: imp
> Date: Wed Mar 22 19:00:41 2017
> New Revision: 315733
> URL: https://svnweb.freebsd.org/changeset/base/315733
>=20
> Log:
> Impelemnt ttys onifexists in init.
>=20
> Implement a new init(8) option in /etc/ttys. If this option is present
> on the entry in /etc/ttys, the entry will be active if and only if it
> exists.  If the name starts with a '/', it will be considered an
> absolute path. If not, it will be a path relative to /dev.
>=20
> This allows one to turn off video console getty that aren't present
> (while running a getty on them even when they aren't the system
> console). Likewise with serial ports.
>=20
> It differs from onifconsole in only requiring the device exist rather
> than it be listed as one of the system consoles.
>=20
> Sponsored by: Netflix
> Differential Revision: https://reviews.freebsd.org/D10037
>=20
> Modified:
> head/include/ttyent.h
> head/lib/libc/gen/getttyent.c
> head/libexec/getty/ttys.5

Slick! That=E2=80=99s a lot better than my other proposed change for =
/dev/ttyv0 (which isn=E2=80=99t present on one of our platforms because =
it doesn=E2=80=99t have a VGA console).
Thanks!
-Ngie

--Apple-Mail=_C4012677-D6C5-4B10-9899-91E7A93DA0A7
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJY0tCfAAoJEPWDqSZpMIYVGHMP/0xt3XAwR4HH70KqhLCJrmjm
417YrlLBBeIDyN6tLclSCxqGhqqqYEnJmGWKqbOa8QQdvjrbUdPDZoVT9w5JwvFO
rY9E7g1y0zMhRwFYNYBN5mcPjR3RHH1qPG8iQL88why/UPdm28Dg1wsp1qbsE/wQ
AXam2GrzsEjX2dk1v1ejFYq32CeB7vpwbMwCTEeuZCd9MIJezeZEVIxtzVXuAeAR
oIfOms9SAL+TZKiNQSeklHf2mNu8GywcypLYidLYuGyhSjIvMFYhnJoqM/RErbxC
A+5RvcaISp+NN4FDHir2SvJEAEVtULmMaG/cMjgt8dgR+VA20RPxiTyWg+kO3WpH
Bm8ztgVvN05aS4y44AmHupSjFpyj5djV1ObqeR37b45N1JGithrg/K0VbGqOLAu7
2XrNLOX0desoVYNX1sf7+tulVMm1emKNj1cRDqQrJbSaQYTnYasfS7gOcr2asoyq
oeupCCd1yAss9yeQMQWwcKxni/EoTFrKtfr7u4SKzjkNOPMQfld7UcSPvOlYhZ5U
j9vlYtzLMU9aaHhDY7CxQ4IxpGbDOhfaepMq+yCOewQ/vlz1b2OzOmN01K2gME4i
eAl+4pdjovvZJHg64OfpTA7HtX1Ua9fmpVtbgUc2QiE7IknkYbMh5Oo6Uyeza2uw
ph3VnNsjNTTpd/XhjrW0
=N7II
-----END PGP SIGNATURE-----

--Apple-Mail=_C4012677-D6C5-4B10-9899-91E7A93DA0A7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7D689BCF-0E33-4487-8038-912988D8EDDD>