pivot_root() and FreeBSD
Edward Tomasz Napierała
trasz at FreeBSD.org
Mon Aug 3 07:11:56 UTC 2015
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
More information about the freebsd-hackers
mailing list