From owner-svn-src-all@freebsd.org Wed Jun 13 18:47:38 2018 Return-Path: Delivered-To: svn-src-all@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 8FFF41005CF7; Wed, 13 Jun 2018 18:47:38 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (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 0488073672; Wed, 13 Jun 2018 18:47:38 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-wm0-x241.google.com with SMTP id z6-v6so327039wma.0; Wed, 13 Jun 2018 11:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=ldFIBYA2ORncIVJ+evYHLHZ5/42II9B9QwuCNrSimOY=; b=pTEbDljcOT9Asp2kbctxQg087Xbt3amb32Nf+YJcJcS7wk7y860c1Igld9IhbbDtHA YW0Pl3ZlDUX42X4j1yDZ9I+I1Lu7ePa98iJHocW105uBdNIxWVglOU0npjR5fT/nV0U0 s/6z2PPN4F3uOVcl0fxvaXTFidc6Q4Gth3co2WeOunxD8yNv1eJvFDA1ju8sEGcwe965 GSBJW2TBCfddvBGgLukyJy3Ul7wVuYCEwYQtwvrfyBYfrIYBeSxMaU/cibbXtt+XjBOt lBDH7inXfwRr4aobmCrIrH3gdcXwYK45n+E5/HNDO34NuwPglfRJoE5jkh4spZHHrHTg GEkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=ldFIBYA2ORncIVJ+evYHLHZ5/42II9B9QwuCNrSimOY=; b=ucYAJ7yBc+Zs2VswZbSbvoLJpqU+ZhmEAacEpGszhS0uw702Y9FDqoxDI9fS1VG6x+ AoOPrCZkkshnYP39h8DMWiagfCSh3ovkN4MQZyc9/dQDdjKSTQr94sG8om05X6PTPXE1 Sr0saVt+QecypFq6bFIzgg8pvIthsT9rnSoLTLeAsmjtobB0peb/xEad+gfWleZFWLHR btC9NF7XP6eVlxrIcC7dIup7DNkgLEnFyYpylCqP86g3E50CWSgcQu2Mf1Yl8xP/M9qZ 4p0J2hHElAG6ahdGtlg4jkf3t6UdYKOYqHwngJ9ng5yLzCF3aNsEhFsth5hUjwPgxlvb 9RcA== X-Gm-Message-State: APt69E3diNS5ERodWYtD4uK42C2hD9bcvsN9POQdpu6NfkU6aaPwysUJ bPUNQT4wl076pv+xu+SSqiccKA== X-Google-Smtp-Source: ADUXVKKUyFjPgyr+NQX3zgSEd/xgTEgXBJF77RoYEnu9dbZ5v9ayJijjO1N09h0BdjM0rLB6ALIpdw== X-Received: by 2002:a1c:dac2:: with SMTP id r185-v6mr4150311wmg.31.1528915657031; Wed, 13 Jun 2018 11:47:37 -0700 (PDT) Received: from brick (cpc92302-cmbg19-2-0-cust461.5-4.cable.virginm.net. [82.1.209.206]) by smtp.gmail.com with ESMTPSA id e63-v6sm5365880wma.46.2018.06.13.11.47.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Jun 2018 11:47:36 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Wed, 13 Jun 2018 19:47:34 +0100 From: Edward Napierala To: Warner Losh Cc: Emmanuel Vadot , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org, owner-src-committers@freebsd.org Subject: Re: svn commit: r335004 - head/release/tools Message-ID: <20180613184734.GA71415@brick> Mail-Followup-To: Warner Losh , Emmanuel Vadot , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org, owner-src-committers@freebsd.org References: <201806121645.w5CGjrMM099365@repo.freebsd.org> <941a15be461602ae3d723c3f30804248@megadrive.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.26 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, 13 Jun 2018 18:47:38 -0000 On 0613T0730, Warner Losh wrote: > On Wed, Jun 13, 2018 at 6:39 AM, Edward Napierala wrote: > > > 2018-06-13 12:43 GMT+01:00 Emmanuel Vadot : > > > >> On 2018-06-12 18:45, Edward Tomasz Napierala wrote: [..] > >> + echo '# USB OTG virtual serial port' \ > >>> + >> ${CHROOTDIR}/${DESTDIR}/etc/ttys > >>> + echo 'ttyU0 "/usr/libexec/getty 3wire" vt100 > >>> onifconsole secure' \ > >>> + >> ${CHROOTDIR}/${DESTDIR}/etc/ttys > >>> + echo 'ttyU1 "/usr/libexec/getty 3wire" vt100 > >>> onifconsole secure' \ > >>> + >> ${CHROOTDIR}/${DESTDIR}/etc/ttys > >>> > >> > >> If I have no OTG port and a usb<->uart plugged into my board that will > >> give weird result no ? > >> > > > > No, because that port won't be marked as console. This only applies > > to the "virtual" OTG serial ports. > > > > Right, and console is an overloaded term. Here it just means 'tty marked > by the kernel that gets a getty started on it automatically after it shows > up' not 'the device that gets all the kernel I/O.' Yup. But again - this reuses the functionality that's already there in init(8), while avoiding the renaming of device nodes. And eventually, those ports might become actual consoles, making things nicely aligned. [..]