Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Aug 2015 17:45:06 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        Adrian Chadd <adrian.chadd@gmail.com>, Dirk-Willem van Gulik <dirkx@webweaving.org>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: pivot_root() and FreeBSD
Message-ID:  <55BF3822.7030405@freebsd.org>
In-Reply-To: <CAJ-Vmo=g91Ub=-hnfodZGbLsAoLLxsbRfY-QzE7GRz3_JP3VGA@mail.gmail.com>
References:  <654E1C53-8536-406D-B218-EA6F20848821@webweaving.org> <55BEE4A5.40107@freebsd.org> <20150803071150.GA6116@brick.home> <CAJ-Vmo=g91Ub=-hnfodZGbLsAoLLxsbRfY-QzE7GRz3_JP3VGA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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

grub can also handle it if grub works on mips.
>
> On 3 August 2015 at 00:11, Edward Tomasz Napierała <trasz@freebsd.org> 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 - and 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 perhaps something special for init(8), and then jettison md, nfs and what not.
>>>>
>>>> Is there any way to do this on 10.1 or -current ? Or has anyone recently done work on Adrian Steinmann his 'Pivot Root for BSD’** ?
>>>>
>>>> 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-Remount
>>>
>>> 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"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55BF3822.7030405>