[installworld] Do We need /usr/obj
Tim Daneliuk
tundra at tundraware.com
Sun Jan 24 20:57:50 UTC 2016
On 01/24/2016 02:42 PM, Terje Elde wrote:
>
>
>> On 24 Jan 2016, at 21:23, Tim Daneliuk <tundra at tundraware.com> 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).
>
> Why build on the machine then? Why not just build on and install from another?
Because this machine is many networks away and installation over the wire would take
quite a while, I think.
>
>> The problem is that the machine has really limited disk space for day-to-day
>> use. So here's the question: does installworld/kernel need what is in
>> /usr/obj, or can that be deleted once the build is complete? This would free
>> up considerable space on that machine.
>
> Well, that's where your built stuff goes, so it's where you'd install files from if you upgrade.
So you DO need /usr/obj for the installs then?
>
> Also, it wouldn't really help you to delete it. With your current setup, you'd need the space again the next night, wouldn't you?
The idea would be to have the rebuild scripts clean out /usr/obj when they are done ... if it were no longer needed.
>
> Terje
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
--
----------------------------------------------------------------------------
Tim Daneliuk tundra at tundraware.com
PGP Key: http://www.tundraware.com/PGP/
More information about the freebsd-questions
mailing list