From owner-freebsd-arm@freebsd.org Thu Mar 7 07:06:18 2019 Return-Path: Delivered-To: freebsd-arm@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 E29CB151E2EB for ; Thu, 7 Mar 2019 07:06:17 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail01.adl2.internode.on.net (ipmail01.adl2.internode.on.net [150.101.137.133]) by mx1.freebsd.org (Postfix) with ESMTP id EC5B06CFF8 for ; Thu, 7 Mar 2019 07:06:09 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from 124-170-233-220.dyn.iinet.net.au (HELO midget.dons.net.au) ([124.170.233.220]) by ipmail01.adl2.internode.on.net with ESMTP; 07 Mar 2019 17:30:55 +1030 Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.15.2/8.15.2) with ESMTPS id x2770fDN060123 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 7 Mar 2019 17:30:50 +1030 (ACDT) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.15.2/8.15.2/Submit) id x276c89S042422 for ; Thu, 7 Mar 2019 17:08:08 +1030 (ACDT) (envelope-from darius@dons.net.au) X-Authentication-Warning: midget.dons.net.au: mailnull set sender to using -f Received: from [203.31.81.59] ([203.31.81.59]) by 124-170-233-220.dyn.iinet.net.au (envelope-sender ) (MIMEDefang) with ESMTP id x276c7HB042420; Thu, 07 Mar 2019 17:08:08 +1030 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: Editing on the serial console From: "O'Connor, Daniel" In-Reply-To: <20190307035427.GA42903@www.zefox.net> Date: Thu, 7 Mar 2019 17:08:07 +1030 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <30423F14-4038-4656-83FC-14DE0943B26B@dons.net.au> References: <20190307035427.GA42903@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3445.102.3) X-Spam-Score: 1.3 (*) No, score=1.3 required=5.0 tests=RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: EC5B06CFF8 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.44 / 15.00]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_XAW(0.00)[]; MX_GOOD(-0.01)[midget.dons.net.au]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[220.233.170.124.zen.spamhaus.org : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[133.137.101.150.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; IP_SCORE(0.28)[ipnet: 150.101.0.0/16(1.11), asn: 4739(0.33), country: AU(-0.04)]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.95)[0.952,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.94)[0.943,0]; DMARC_NA(0.00)[dons.net.au]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.88)[0.880,0]; R_SPF_NA(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2019 07:06:18 -0000 > On 7 Mar 2019, at 14:24, bob prohaska wrote: >=20 > Editing files in single-user mode on the serial console=20 > is non-trivial. Both vi and ee have problems displaying=20 > the file, ed doesn't really try so it works but isn't > much fun. Is there a better option? When the machine=20 > boots single-user it reports "can't read /etc/termcap",=20 > is something misconfigured? /etc/termcap is a symlink to /usr/share/misc/termcap - if you mount /usr = (read only is fine) then it should work. ie since you are in single user mode only / has been mounted. If / and /usr are the same FS them something else is wrong :) -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum