From owner-freebsd-current@FreeBSD.ORG Mon Nov 11 20:30:53 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 392CE55C; Mon, 11 Nov 2013 20:30:53 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0018C24B5; Mon, 11 Nov 2013 20:30:52 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa05.fnfis.com (8.14.5/8.14.5) with ESMTP id rABKUp3t022477 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 11 Nov 2013 14:30:51 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([169.254.1.152]) by LTCFISWMSGHT04.FNFIS.com ([10.132.206.15]) with mapi id 14.03.0158.001; Mon, 11 Nov 2013 14:30:50 -0600 From: "Teske, Devin" To: Michael Dexter Subject: Re: [CFT] bsdinstall and zfsboot enhancements Thread-Topic: [CFT] bsdinstall and zfsboot enhancements Thread-Index: AQHO1/VTfN3AabWEO0qqCcwz4iQiNg== Date: Mon, 11 Nov 2013 20:30:50 +0000 Message-ID: References: <5275C597.6070702@freebsd.org> <97944047-D575-4E2E-B687-9871DFE058E3@fisglobal.com> <52769CFE.5080707@freebsd.org> <5281340E.8080009@callfortesting.org> In-Reply-To: <5281340E.8080009@callfortesting.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-11-11_03:2013-11-11,2013-11-11,1970-01-01 signatures=0 Cc: Current Current , Devin Teske , "Teske, Devin" , Peter Grehan , Nathan Whitehorn X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2013 20:30:53 -0000 (disabling default gpg-signing until they fix a bug with the quoting) On Nov 11, 2013, at 11:46 AM, Michael Dexter wrote: >=20 > Hello all, >=20 > I have been experimenting with various BSD and GNU/Linux boot media > under bhyve and noticed that we may want to accommodate the "LiveCD" > mode of the installer, which in turn requires the correct console. >=20 > Currently, one is prompted for VT100 for installation but this does not > appear to work/stick for LiveCD mode. >=20 > Can anyone verify this? >=20 Sorry, I mistook your issue in the previous e-mail to be on-going with the thread it was inline with. "LiveCD" changes things a bit. (thinks) I would expect that a prompt could do: 1. modify /etc/ttys on the boot media 2. run "init q" But there's a couple of assumptions... 3. Can we even write to /etc/ttys? NB: We can write to /tmp because it's an md0 swap device So do we have to get fancy with slipping a unionfs layer backed by another md swap device above the root? That would make every file on the boot media writable (writes would go to the swap-backed md device and if you execute "rm -fW file" you can get back files that have been previously unlinked -- unlinks are stored as whiteouts= in the swap backed md device). For all intents and purposes, the read-only fil= e- system becomes writable and we could then munge /etc/ttys to enable serial only when a menu item is chosen. If I'm off-base, let me know... sounds like a lot of trouble. The alternative being that you enable serial by default but then I have to = tell field engineers to unplug barcode readers before they do an install??? (tha= t's a question, it may be entirely safe, but I've never tried, seems unsafe) Question is, how would you disable it? Goes back to writable filesystem. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.