Date: Sun, 2 Aug 2015 17:14:50 -0700 From: Adrian Chadd <adrian@freebsd.org> To: Dirk-Willem van Gulik <dirkx@webweaving.org>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: pivot_root() and FreeBSD Message-ID: <CAJ-Vmomt1jfhs3yr2rXv1rRX1qp1BOgBk_AXCzL3XxPPciAxmw@mail.gmail.com> In-Reply-To: <20150613092704.GA37870@brick.home> References: <654E1C53-8536-406D-B218-EA6F20848821@webweaving.org> <20150613092704.GA37870@brick.home>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, pivotroot would be nice. I'd like to be able to mount an mfs to free up the rootfs on embedded devices, so I can re-write the kernel/rootfs that we booted from. +1, let's get this going. -a On 13 June 2015 at 02:27, Edward Tomasz Napiera=C5=82a <trasz@freebsd.org> = wrote: > On 0303T1751, 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 per= haps 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=E2=80=99** ? > > I have something similar in purpose in the works: > > https://reviews.freebsd.org/D2698 > > Perhaps you could take a look to see if it fits your use case? The code > needs a rewrite, but the usage should stay the same. > > _______________________________________________ > 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?CAJ-Vmomt1jfhs3yr2rXv1rRX1qp1BOgBk_AXCzL3XxPPciAxmw>