Date: Mon, 25 Jan 2016 08:08:41 -0600 From: Tim Daneliuk <tundra@tundraware.com> To: Polytropon <freebsd@edvax.de>, Lars Eighner <luvbeastie@larseighner.com> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: [installworld] Do We need /usr/obj Message-ID: <56A62C69.8050504@tundraware.com> In-Reply-To: <20160125091825.b5888ec3.freebsd@edvax.de> References: <56A532AC.3050803@tundraware.com> <alpine.BSF.2.20.1601241738500.51005@abbf.ynefrvtuareubzr.pbz> <20160125091825.b5888ec3.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/25/2016 02:18 AM, Polytropon wrote: > On Sun, 24 Jan 2016 17:49:24 -0600 (CST), Lars Eighner wrote: >> On Sun, 24 Jan 2016, Tim Daneliuk wrote: >> >>> One of the servers I maintain has a very small footprint (it's a VPS). >>> It is set up to do a full buildworld/buildkernel every night. That way, >>> when its time to upgrade for, say, security reasons, there is no build delay >>> (which takes nearly 5 hours on this virtual machine). >>> >> >> Yes, you can delete /usr/bin after installworld. > > Deleting /usr/bin is not a good idea; deleting /usr/obj is a better one. :-) Yep, that's what I meant alright ... /usr/obj. > > Allow me an addition: It's possible that you'll need /usr/obj for > the mergemaster steps as well (I'm not fully sure which files will > be sourced from /usr/src and which from /usr/obj). So it's probably > a good advice to have a look at /usr/src/Makefile's comment header > in order to check the correct order of operations which might involve > using /usr/obj _after_ "make installworld". > > > >> If you have space in /tmp or /var you could link /usr/bin to some of that >> space. > > If you have sufficient RAM for that instance, it's probably possible > to put /usr/obj in memory as "scratch space". In this case, always > check your swap configuration! > > > > -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56A62C69.8050504>