too little space on /
Michael Powell
nightrecon at verizon.net
Thu Sep 11 13:52:50 UTC 2008
Zbigniew Szalbot wrote:
> Hello,
>
> Volodymyr Kostyrko:
>> 3. What catalogs are your spacehogs? Examine the output of:
>>
>> find / -type d -maxdepth 1 -mindepth 1 -exec du -hd0 {} \;
>
> Searching for bigger dirs turned out that my /boot was bigger than needed
>
> 114M /boot
>
> So a way to go would be to either:
>
> 1/ define "nomakeoptions DEBUG" in kernel
>
> 2/ Stop building all of the modules implying WITH_MODULES or NO_MODULES
> to not omit module building at all.
>
> 3/ Stop building megakernel and move to minikernel loading everything
> else from modules
>
> In case you wonder how come I am so wise - I am not. This was all with
> suggested by a friendly and kind member of this list.
>
> Many thanks!!!
>
>
You can also add STRIP= -s to /etc/make.conf if you don't do development or
debugging. The next buildworld/...kernel.../installworld and you'll have a
smaller /.
-Mike
More information about the freebsd-questions
mailing list