From owner-svn-src-head@freebsd.org Wed May 9 21:08:01 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AECCFCC5B2 for ; Wed, 9 May 2018 21:08:01 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (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 CE26E6EE54 for ; Wed, 9 May 2018 21:08:00 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x22b.google.com with SMTP id y189-v6so629496itb.2 for ; Wed, 09 May 2018 14:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=twDhg6vipeXEkYejEgBBBRMg0crYdGLvU+toDZWJiD4=; b=N8vQkl5iPWbG/L1H3pQH+WXxP4ztPMzpxoUjuNNwID60OPc3XHgC+LTisX67vzj0NV PgjIwyegHqF31ThhcbHsKQMNt9nJELjsWtqJu/Hh8MesJ9i1Ir5WX1AfQbCJPI2hbU8v XbOeYjS8rsiGCo80qn1P8dxCOY2OlY9DwscfcthqYJ99IE9P1H0k0fxiZzLXlLiMC0qs rzGsiDXNTYf2NSdRFKfUumkr5wOfsLjoBHX1TJcQVXp5842kQeFIGWfkyRgKjW8wm1TI 6XHgaOssL3BpqKx6lVVlJISpQ3IUCfo/X3BwOD36VtFRsn1qSis+l+SNfcamCbfIW5Yv rqDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=twDhg6vipeXEkYejEgBBBRMg0crYdGLvU+toDZWJiD4=; b=IcDxT0KtgbCxgoLwokTSSQSH5Bo0NTpdyciazvuiKip0q5Jt2O7121OE4938IWnNip g7KiFXaTV8n0D6Zokalkf1fwSv/JdOZUQ9h6qbxufP+mYKIDZgK8xfSEvR6Hkwx5eTIw bP69dRubhkU9fDRkta9kXwAsjkydFDgHOFZyEo1j9hBJgPQMB9EGB1D7fWafGWfG5ONH t2+nXGWlWZ9yyZ+9L/NWClynhDZrrw+Kk2g7rxjGZMOrUoOmzaHoKHXkQQdHTsHNJtmy nXCCf3PwHv+0f+y9kbOoykX9AwZHQV9DAAHfuDX7DJ8DFXXUYBbNlxNslhLedFDbCKdC hUnA== X-Gm-Message-State: ALKqPweTzEP1DxniGiQ2D5KdQ+8gEKxh3LW0wW4PDQc/WY6cTucYpa2f NY4XqY2ThVVJJ6xG06rdzKQwWdZkBi/gxerC0BL02g== X-Google-Smtp-Source: AB8JxZqZYY5Ked9ylO7Avr7JypPP+rvsmH5YUfSUdBKyvkZv5C7WbIftbH/XrPuqdGufX/tykR5uCXg/a/sa4UiXPfg= X-Received: by 2002:a24:42c6:: with SMTP id i189-v6mr11575266itb.73.1525900079945; Wed, 09 May 2018 14:07:59 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:a649:0:0:0:0:0 with HTTP; Wed, 9 May 2018 14:07:59 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: <688d1720-f1a1-0592-5807-3417d6dc6095@freebsd.org> References: <201805092049.w49Kn1QT076817@repo.freebsd.org> <688d1720-f1a1-0592-5807-3417d6dc6095@freebsd.org> From: Warner Losh Date: Wed, 9 May 2018 15:07:59 -0600 X-Google-Sender-Auth: xSI5GNcHJylAjGBaObx-Q-9A3Dw Message-ID: Subject: Re: svn commit: r333436 - in head/etc: etc.aarch64 etc.amd64 etc.arm etc.i386 etc.powerpc etc.riscv etc.sparc64 To: Nathan Whitehorn Cc: Warner Losh , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2018 21:08:01 -0000 I plan on unifying them as far as I can. The devil is in the details, so that will be a followup commit. Warner On Wed, May 9, 2018 at 2:54 PM, Nathan Whitehorn wrote: > Thanks! > > At this point, these files only differ from each other in white space, > comments, and whether they have video console lines at all, which is made > unnecessary by this commit --- with the exception of sparc64, which has a > few extra off-by-default console options. Any reason not to unify them? Or > is that a follow-up commit? > -Nathan > > > On 05/09/18 13:49, Warner Losh wrote: > >> Author: imp >> Date: Wed May 9 20:49:00 2018 >> New Revision: 333436 >> URL: https://svnweb.freebsd.org/changeset/base/333436 >> >> Log: >> For video consoles, only launch a getty if the device exists. >> Differential Revision: https://reviews.freebsd.org/D15169 >> >> Modified: >> head/etc/etc.aarch64/ttys >> head/etc/etc.amd64/ttys >> head/etc/etc.arm/ttys >> head/etc/etc.i386/ttys >> head/etc/etc.powerpc/ttys >> head/etc/etc.riscv/ttys >> head/etc/etc.sparc64/ttys >> >> Modified: head/etc/etc.aarch64/ttys >> ============================================================ >> ================== >> --- head/etc/etc.aarch64/ttys Wed May 9 20:41:03 2018 (r333435) >> +++ head/etc/etc.aarch64/ttys Wed May 9 20:49:00 2018 (r333436) >> @@ -29,16 +29,16 @@ >> # when going to single-user mode. >> console none unknown off secure >> # >> -ttyv0 "/usr/libexec/getty Pc" xterm onifconsole secure >> +ttyv0 "/usr/libexec/getty Pc" xterm onifexists secure >> # Virtual terminals >> -ttyv1 "/usr/libexec/getty Pc" xterm off secure >> -ttyv2 "/usr/libexec/getty Pc" xterm off secure >> -ttyv3 "/usr/libexec/getty Pc" xterm off secure >> -ttyv4 "/usr/libexec/getty Pc" xterm off secure >> -ttyv5 "/usr/libexec/getty Pc" xterm off secure >> -ttyv6 "/usr/libexec/getty Pc" xterm off secure >> -ttyv7 "/usr/libexec/getty Pc" xterm off secure >> -#ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure >> +ttyv1 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv2 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv3 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv4 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv5 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv6 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv7 "/usr/libexec/getty Pc" xterm onifexists secure >> +#ttyv8 "/usr/local/bin/xdm -nodaemon" xterm onifexists secure >> # Serial terminals >> # The 'dialup' keyword identifies dialin lines to login, fingerd etc. >> ttyu0 "/usr/libexec/getty 3wire" vt100 onifconsole secure >> >> Modified: head/etc/etc.amd64/ttys >> ============================================================ >> ================== >> --- head/etc/etc.amd64/ttys Wed May 9 20:41:03 2018 (r333435) >> +++ head/etc/etc.amd64/ttys Wed May 9 20:49:00 2018 (r333436) >> @@ -29,15 +29,15 @@ >> # when going to single-user mode. >> console none unknown off secure >> # >> -ttyv0 "/usr/libexec/getty Pc" xterm on secure >> +ttyv0 "/usr/libexec/getty Pc" xterm onifexists secure >> # Virtual terminals >> -ttyv1 "/usr/libexec/getty Pc" xterm on secure >> -ttyv2 "/usr/libexec/getty Pc" xterm on secure >> -ttyv3 "/usr/libexec/getty Pc" xterm on secure >> -ttyv4 "/usr/libexec/getty Pc" xterm on secure >> -ttyv5 "/usr/libexec/getty Pc" xterm on secure >> -ttyv6 "/usr/libexec/getty Pc" xterm on secure >> -ttyv7 "/usr/libexec/getty Pc" xterm on secure >> +ttyv1 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv2 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv3 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv4 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv5 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv6 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv7 "/usr/libexec/getty Pc" xterm onifexists secure >> ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure >> # Serial terminals >> # The 'dialup' keyword identifies dialin lines to login, fingerd etc. >> >> Modified: head/etc/etc.arm/ttys >> ============================================================ >> ================== >> --- head/etc/etc.arm/ttys Wed May 9 20:41:03 2018 (r333435) >> +++ head/etc/etc.arm/ttys Wed May 9 20:49:00 2018 (r333436) >> @@ -29,15 +29,15 @@ >> # when going to single-user mode. >> console none unknown off secure >> # >> -ttyv0 "/usr/libexec/getty Pc" xterm onifconsole secure >> +ttyv0 "/usr/libexec/getty Pc" xterm onifexists secure >> # Virtual terminals >> -ttyv1 "/usr/libexec/getty Pc" xterm off secure >> -ttyv2 "/usr/libexec/getty Pc" xterm off secure >> -ttyv3 "/usr/libexec/getty Pc" xterm off secure >> -ttyv4 "/usr/libexec/getty Pc" xterm off secure >> -ttyv5 "/usr/libexec/getty Pc" xterm off secure >> -ttyv6 "/usr/libexec/getty Pc" xterm off secure >> -ttyv7 "/usr/libexec/getty Pc" xterm off secure >> +ttyv1 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv2 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv3 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv4 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv5 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv6 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv7 "/usr/libexec/getty Pc" xterm onifexists secure >> #ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure >> # Serial terminals >> # The 'dialup' keyword identifies dialin lines to login, fingerd etc. >> >> Modified: head/etc/etc.i386/ttys >> ============================================================ >> ================== >> --- head/etc/etc.i386/ttys Wed May 9 20:41:03 2018 (r333435) >> +++ head/etc/etc.i386/ttys Wed May 9 20:49:00 2018 (r333436) >> @@ -29,15 +29,15 @@ >> # when going to single-user mode. >> console none unknown off secure >> # >> -ttyv0 "/usr/libexec/getty Pc" xterm on secure >> +ttyv0 "/usr/libexec/getty Pc" xterm onifexists secure >> # Virtual terminals >> -ttyv1 "/usr/libexec/getty Pc" xterm on secure >> -ttyv2 "/usr/libexec/getty Pc" xterm on secure >> -ttyv3 "/usr/libexec/getty Pc" xterm on secure >> -ttyv4 "/usr/libexec/getty Pc" xterm on secure >> -ttyv5 "/usr/libexec/getty Pc" xterm on secure >> -ttyv6 "/usr/libexec/getty Pc" xterm on secure >> -ttyv7 "/usr/libexec/getty Pc" xterm on secure >> +ttyv1 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv2 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv3 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv4 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv5 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv6 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv7 "/usr/libexec/getty Pc" xterm onifexists secure >> ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure >> # Serial terminals >> # The 'dialup' keyword identifies dialin lines to login, fingerd etc. >> >> Modified: head/etc/etc.powerpc/ttys >> ============================================================ >> ================== >> --- head/etc/etc.powerpc/ttys Wed May 9 20:41:03 2018 (r333435) >> +++ head/etc/etc.powerpc/ttys Wed May 9 20:49:00 2018 (r333436) >> @@ -29,15 +29,15 @@ >> # when going to single-user mode. >> console none unknown off secure >> # >> -ttyv0 "/usr/libexec/getty Pc" xterm on secure >> +ttyv0 "/usr/libexec/getty Pc" xterm onifexists secure >> # Virtual terminals >> -ttyv1 "/usr/libexec/getty Pc" xterm on secure >> -ttyv2 "/usr/libexec/getty Pc" xterm on secure >> -ttyv3 "/usr/libexec/getty Pc" xterm on secure >> -ttyv4 "/usr/libexec/getty Pc" xterm on secure >> -ttyv5 "/usr/libexec/getty Pc" xterm on secure >> -ttyv6 "/usr/libexec/getty Pc" xterm on secure >> -ttyv7 "/usr/libexec/getty Pc" xterm on secure >> +ttyv1 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv2 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv3 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv4 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv5 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv6 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv7 "/usr/libexec/getty Pc" xterm onifexists secure >> #ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure >> # Serial terminals >> # The 'dialup' keyword identifies dialin lines to login, fingerd etc. >> >> Modified: head/etc/etc.riscv/ttys >> ============================================================ >> ================== >> --- head/etc/etc.riscv/ttys Wed May 9 20:41:03 2018 (r333435) >> +++ head/etc/etc.riscv/ttys Wed May 9 20:49:00 2018 (r333436) >> @@ -29,16 +29,16 @@ >> # when going to single-user mode. >> console none unknown off secure >> # >> -ttyv0 "/usr/libexec/getty Pc" xterm onifconsole secure >> +ttyv0 "/usr/libexec/getty Pc" xterm onifexists secure >> # Virtual terminals >> -ttyv1 "/usr/libexec/getty Pc" xterm off secure >> -ttyv2 "/usr/libexec/getty Pc" xterm off secure >> -ttyv3 "/usr/libexec/getty Pc" xterm off secure >> -ttyv4 "/usr/libexec/getty Pc" xterm off secure >> -ttyv5 "/usr/libexec/getty Pc" xterm off secure >> -ttyv6 "/usr/libexec/getty Pc" xterm off secure >> -ttyv7 "/usr/libexec/getty Pc" xterm off secure >> -#ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure >> +ttyv1 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv2 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv3 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv4 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv5 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv6 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv7 "/usr/libexec/getty Pc" xterm onifexists secure >> +#ttyv8 "/usr/local/bin/xdm -nodaemon" xterm onifexists secure >> # Serial terminals >> # The 'dialup' keyword identifies dialin lines to login, fingerd etc. >> ttyu0 "/usr/libexec/getty 3wire" vt100 onifconsole secure >> >> Modified: head/etc/etc.sparc64/ttys >> ============================================================ >> ================== >> --- head/etc/etc.sparc64/ttys Wed May 9 20:41:03 2018 (r333435) >> +++ head/etc/etc.sparc64/ttys Wed May 9 20:49:00 2018 (r333436) >> @@ -33,15 +33,15 @@ screen "/usr/libexec/getty Pc" vt100 >> off secure >> ttya "/usr/libexec/getty 3wire.9600" vt100 off secure >> ttyb "/usr/libexec/getty 3wire.9600" vt100 off secure >> # syscons(4) >> -ttyv0 "/usr/libexec/getty Pc" xterm on secure >> +ttyv0 "/usr/libexec/getty Pc" xterm onifexists secure >> # Virtual terminals >> -ttyv1 "/usr/libexec/getty Pc" xterm on secure >> -ttyv2 "/usr/libexec/getty Pc" xterm on secure >> -ttyv3 "/usr/libexec/getty Pc" xterm on secure >> -ttyv4 "/usr/libexec/getty Pc" xterm on secure >> -ttyv5 "/usr/libexec/getty Pc" xterm on secure >> -ttyv6 "/usr/libexec/getty Pc" xterm on secure >> -ttyv7 "/usr/libexec/getty Pc" xterm on secure >> +ttyv1 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv2 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv3 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv4 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv5 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv6 "/usr/libexec/getty Pc" xterm onifexists secure >> +ttyv7 "/usr/libexec/getty Pc" xterm onifexists secure >> ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure >> # Serial terminals >> # The 'dialup' keyword identifies dialin lines to login, fingerd etc. >> >> >