WORLDTMP on a ram disk

Kimmo Paasiala kpaasial at gmail.com
Sat Apr 20 12:30:27 UTC 2013


On Sat, Apr 20, 2013 at 3:16 PM, Dimitry Andric <dim at freebsd.org> wrote:
> On Apr 20, 2013, at 11:55, Kimmo Paasiala <kpaasial at gmail.com> wrote:
>> Poking around the /usr/src/Makefile.inc1 I see that there's a variable
>> called "WORLDTMP" that seems to set the location for temporary files
>> during the world build. My question is now:
>>
>> Is it safe to put WORLDTMP on a ram disk, for example tmpfs(5)?
>>
>> Looking at the build process it seems to me that the temporary files
>> are no longer needed after make buildworld has finished?
>
>
> The problem is that you need those temporary files for installworld, and
> you must reboot with your new kernel before running that...
>

Well that was what I was after, I was somehow under the impression
that the files in WORLDTMP would be moved to more permanent location
under /usr/obj for installworld to find them.

-Kimmo


More information about the freebsd-hackers mailing list