WORLDTMP on a ram disk

Dimitry Andric dim at FreeBSD.org
Sat Apr 20 12:16:39 UTC 2013


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...



More information about the freebsd-hackers mailing list