Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2008 09:55:24 -0400
From:      Michael Powell <nightrecon@verizon.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: too little space on /
Message-ID:  <gab7r1$mtl$1@ger.gmane.org>
References:  <48C8D599.5080404@lcwords.com> <gaam7b$pq9$1@ger.gmane.org> <48C8FC79.7080009@lcwords.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gab7r1$mtl$1>