From owner-svn-src-all@freebsd.org Wed Mar 22 19:29:37 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0AC2D1883D; Wed, 22 Mar 2017 19:29:37 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg0-x244.google.com (mail-pg0-x244.google.com [IPv6:2607:f8b0:400e:c05::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8068516AA; Wed, 22 Mar 2017 19:29:37 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pg0-x244.google.com with SMTP id 81so24140783pgh.3; Wed, 22 Mar 2017 12:29:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=34n3MMVBhSA9oJXit1pO/+az5NtSxSmK7NUsI1+qeXE=; b=Uxm8mtg0jP67Aq48nTxAnSXNSBcujzavSaHb0IhUszkyU5YYCOYE1MQswRuLdQUf7g /anljClUJa5dv6ilEvBZRkHbrFiuUkre3cCq4YpQAr8lkbbTcOO5FmZZoJGA5EifT4c8 o8Z+G1uDh4DewBarhZBWtznY72jTAyhvEIfv1jW1MNEZixpd50KM8/DgReSPAPJXWDGI 7EDiVSpkLeYL+B84aiH1x7VQJBjgPjS2yiMPHz33skSNQLfNmeBP5SJlQh68cErlIPvY XIEGE0EfirBPnCULU61POH8gKhnAiqIXa58j5EouZo9Mi/TaYP+RQ57bQEkufqm39yGb fNMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=34n3MMVBhSA9oJXit1pO/+az5NtSxSmK7NUsI1+qeXE=; b=iIU/ZK94X2MoQKyFkiHT5HevYk+D7RblRkO97IfCWmdwPKy9WGLu62QqsM2uuZMMST fHHo6NZOOacig/S+pspPSIlQCOw1fD9qpDNlUOvuE7JLFUJO23EVERn12KwMcmLR0NRk uEQlK+QqGW5+s40ersQuGA3mb8Oyt/BB8v7SE0TbGLiJKD/4/NmwYWgPhy+F50W5zuOF AueQYXK9VCfrstkPFlp1hAHR11mgheqIL3GPG1I7EdoULHRA94cFKHoOR8DEETcF9vXk mIem8Yf4J2VGixc8znic9un/aW8KKrKCmY6uhdsHPbQ1C7K8BnI+u0nwc7JZ2MPRs/tp cdJQ== X-Gm-Message-State: AFeK/H3uMpXOnqzkls3wHPHJ9LyvrV1We7ez4zZbUckPWsQ9X7Fjsb2mbXjyjGAD7O7qoA== X-Received: by 10.98.67.89 with SMTP id q86mr47976538pfa.237.1490210976578; Wed, 22 Mar 2017 12:29:36 -0700 (PDT) Received: from pinklady.local (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id n15sm5501540pfj.18.2017.03.22.12.29.35 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Mar 2017 12:29:35 -0700 (PDT) Subject: Re: svn commit: r315733 - in head: include lib/libc/gen libexec/getty Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_C4012677-D6C5-4B10-9899-91E7A93DA0A7"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail From: "Ngie Cooper (yaneurabeya)" In-Reply-To: <201703221900.v2MJ0gC8058678@repo.freebsd.org> Date: Wed, 22 Mar 2017 12:29:35 -0700 Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-Id: <7D689BCF-0E33-4487-8038-912988D8EDDD@gmail.com> References: <201703221900.v2MJ0gC8058678@repo.freebsd.org> To: Warner Losh X-Mailer: Apple Mail (2.3124) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2017 19:29:37 -0000 --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 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--