From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 16 09:11:02 2015 Return-Path: Delivered-To: freebsd-hackers@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8B60CE45 for ; Tue, 16 Jun 2015 09:11:02 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6064D175 for ; Tue, 16 Jun 2015 09:11:02 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (50-196-156-133-static.hfc.comcastbusiness.net [50.196.156.133]) (authenticated bits=0) by vps1.elischer.org (8.14.9/8.14.9) with ESMTP id t5G9AtNC093400 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 16 Jun 2015 02:10:59 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <557FE81A.3090607@freebsd.org> Date: Tue, 16 Jun 2015 17:10:50 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Konstantin Belousov CC: Don whY , FreeBSD-Hackers Mailing List Subject: Re: PXE boot an XIP image? References: <557C073E.1060702@gmx.com> <557C2BD7.1000104@freebsd.org> <557C844F.1010107@gmx.com> <557E4480.6000603@freebsd.org> <557F0ED6.7010700@gmx.com> <557F91C4.8080602@freebsd.org> <20150616040208.GG2080@kib.kiev.ua> <557FA842.7060803@freebsd.org> <20150616050438.GI2080@kib.kiev.ua> In-Reply-To: <20150616050438.GI2080@kib.kiev.ua> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 16 Jun 2015 09:11:02 -0000 On 6/16/15 1:04 PM, Konstantin Belousov wrote: > On Tue, Jun 16, 2015 at 12:38:26PM +0800, Julian Elischer wrote: >> On 6/16/15 12:02 PM, Konstantin Belousov wrote: >>> Our tmpfs(5) provides the in-place execution capability, assuming the image >>> has correctly aligned segments. >> cool.. but I guess you'd have to load it up from the net before you >> could use it. >> Is this documented anywhere? >> > Documented what ? A way to populate tmpfs mount with some data ? > I think tar xf might be enough. No silly, the fact that it allows in-place execution where the text pages of the binary are mapped directly to the text pages of the running process image. > >