From owner-freebsd-hackers@freebsd.org Mon Aug 3 07:13:12 2015 Return-Path: Delivered-To: freebsd-hackers@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 A4D989B2329 for ; Mon, 3 Aug 2015 07:13:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (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 729DD1D25; Mon, 3 Aug 2015 07:13:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by ioeg141 with SMTP id g141so136784953ioe.3; Mon, 03 Aug 2015 00:13:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=GRY8czZpWS6a+RrPoXRPMsc9WyFl5tyubp6Qtn0rlqE=; b=T+C9SPmKXSFRFl9Zu1lOCuApzeACuBoKvCHcHvwfanvTTI4jjG3pqTMqIyX7zP4+OM bKyjBmu5hmcq7+cvmCsG/RD3czZUUV6+11BIGiN/vV6zAiyAt6PkWo9NwANHQAzS4CVW UhqELFOSWlSn6X1XhhzdxzehQe/aCWpisOxVLgC7KKHWzXLUQdseLTzlp3JlARHW5kd0 E/VhtDwlxPjOBd9/CBTdCGZWLJFHbmX0jTjuaxs3ljXRVlyVVc3uidXRJJgd8NDiyxlU m6Z8MDyZFqDFw8tJW49IwblkGBP/D+iKBDB+suLFD4nM2z3ehlmHy2sY5okeN2OEPpgb x/UA== MIME-Version: 1.0 X-Received: by 10.107.134.83 with SMTP id i80mr17736988iod.123.1438585991842; Mon, 03 Aug 2015 00:13:11 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Mon, 3 Aug 2015 00:13:11 -0700 (PDT) In-Reply-To: <20150803071150.GA6116@brick.home> References: <654E1C53-8536-406D-B218-EA6F20848821@webweaving.org> <55BEE4A5.40107@freebsd.org> <20150803071150.GA6116@brick.home> Date: Mon, 3 Aug 2015 00:13:11 -0700 Message-ID: Subject: Re: pivot_root() and FreeBSD From: Adrian Chadd To: Julian Elischer , Dirk-Willem van Gulik , "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 03 Aug 2015 11:06:18 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 07:13:12 -0000 .. and it won't work for upgrading routers, as the MIPS things don't use lo= ader. On 3 August 2015 at 00:11, Edward Tomasz Napiera=C5=82a = wrote: > On 0803T1148, Julian Elischer wrote: >> On 3/4/15 12:51 AM, Dirk-Willem van Gulik wrote: >> > I am trying to do, in effect an PXE boot/install on a local volume - a= nd would like the machine to cut over into normal running without a reboot*= . >> > >> > So effectively I would like to do the equivalent of pivot_root() and p= erhaps something special for init(8), and then jettison md, nfs and what no= t. >> > >> > Is there any way to do this on 10.1 or -current ? Or has anyone recent= ly done work on Adrian Steinmann his 'Pivot Root for BSD=E2=80=99** ? >> > >> > Thanks, >> there is SOME work going on on a similar thing.. It was in the recent >> project status. >> >> https://www.freebsd.org/news/status/report-2015-04-2015-06.html#Root-Rem= ount >> >> Also have you tried simply using a small memory filesystem loaded with >> the kernel? > > Note that this functionality is kind of broken as well: > > https://reviews.freebsd.org/D3204 > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= "