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
[-- Attachment #1 --] > On Mar 22, 2017, at 12:00, Warner Losh <imp@FreeBSD.org> wrote: > > Author: imp > Date: Wed Mar 22 19:00:41 2017 > New Revision: 315733 > URL: https://svnweb.freebsd.org/changeset/base/315733 > > Log: > Impelemnt ttys onifexists in init. > > 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. > > 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. > > It differs from onifconsole in only requiring the device exist rather > than it be listed as one of the system consoles. > > Sponsored by: Netflix > Differential Revision: https://reviews.freebsd.org/D10037 > > Modified: > head/include/ttyent.h > head/lib/libc/gen/getttyent.c > head/libexec/getty/ttys.5 Slick! That’s a lot better than my other proposed change for /dev/ttyv0 (which isn’t present on one of our platforms because it doesn’t have a VGA console). Thanks! -Ngie [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7D689BCF-0E33-4487-8038-912988D8EDDD>
