From owner-freebsd-hackers@freebsd.org Mon Aug 3 10:01:55 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 A595D9B1DEE for ; Mon, 3 Aug 2015 10:01:55 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (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 412B37A6; Mon, 3 Aug 2015 10:01:55 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by wibud3 with SMTP id ud3so106571821wib.0; Mon, 03 Aug 2015 03:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=N3qkauMJE8xsDFYqo5OlC3QQUxxrP923ZTYU33ry10g=; b=YnUgEw4EKxAIrd1aiASnIFEgkWbsrRlaXkQ1/r9RyMh1IJ5w/wXCePMDGkY0n8uCvJ 8bi0Ni2RAEgpgIeeyfpTg3up3QHtxMM1cR52qsn4w+p0oaqb/mbDKYRqIcgCpd/0YrlU Qd1QG3xBYeBFvbqJhZSB7ITDJ/pV6bp0WdQeVnfquaxhJWQyyS+PPiYdxhtMpglqo+j4 ryOS60cZgsKVoLD89MZxOO8vzbkPpKtluCE3IwkRB98QmcqwOmTAwPFPzObPf/i2jlJH el4y7eiKfN1EQulhFEtuVGa1ZqQilxwEq+eipZiuCpMVDTIXeXd9WqeJ7RLJmjUMUIW5 zp6g== X-Received: by 10.180.84.230 with SMTP id c6mr32349295wiz.32.1438596113330; Mon, 03 Aug 2015 03:01:53 -0700 (PDT) Received: from brick.home (ehz47.neoplus.adsl.tpnet.pl. [83.21.115.47]) by smtp.gmail.com with ESMTPSA id ev2sm12713547wib.21.2015.08.03.03.01.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Aug 2015 03:01:52 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Mon, 3 Aug 2015 12:01:48 +0200 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: Julian Elischer Cc: Adrian Chadd , Dirk-Willem van Gulik , "freebsd-hackers@freebsd.org" Subject: Re: pivot_root() and FreeBSD Message-ID: <20150803100148.GA6807@brick.home> Mail-Followup-To: Julian Elischer , Adrian Chadd , Dirk-Willem van Gulik , "freebsd-hackers@freebsd.org" References: <654E1C53-8536-406D-B218-EA6F20848821@webweaving.org> <55BEE4A5.40107@freebsd.org> <20150803071150.GA6116@brick.home> <55BF3822.7030405@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55BF3822.7030405@freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) 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 10:01:55 -0000 On 0803T1745, Julian Elischer wrote: > On 8/3/15 3:13 PM, Adrian Chadd wrote: > > .. and it won't work for upgrading routers, as the MIPS things don't use loader. > > it can also be compiled into the kernel... > I've done that... a picobsd filesystem linked into the kernel Would be better to just make it work for MIPS :-) How do MIPS machines boot? Are they able to load the kernel and modules? If so, making it load md image shouldn't be that hard - it's just like loading modules, just marking them as non-kld type.