From owner-freebsd-stable Mon Nov 19 10: 9:36 2001 Delivered-To: freebsd-stable@freebsd.org Received: from topperwein.dyndns.org (acs-24-154-28-168.zoominternet.net [24.154.28.168]) by hub.freebsd.org (Postfix) with ESMTP id 0E70D37B425 for ; Mon, 19 Nov 2001 10:09:30 -0800 (PST) Received: from topperwein.dyndns.org (topperwein.dyndns.org [192.168.168.10]) by topperwein.dyndns.org (8.11.6/8.11.6) with ESMTP id fAJI9PF41871 for ; Mon, 19 Nov 2001 13:09:26 -0500 (EST) (envelope-from behanna@zbzoom.net) Date: Mon, 19 Nov 2001 13:09:20 -0500 (EST) From: Chris BeHanna Reply-To: Chris BeHanna To: FreeBSD-Stable Subject: Re: Has the size of stable /modules increased a lot lately? In-Reply-To: <20011119122031.A8371@adv.devet.org> Message-ID: <20011119130434.L41811-100000@topperwein.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 19 Nov 2001, Arjan de Vet wrote: > In article you write: > > >This is something odd I noticed when I did a buildworld. It may be due > >to something I did, but I thought I'd mention it in case other people > >start noticing the same thing. My system is working fine, so this is > >not a crisis for me. Just an oddity that I thought I'd mention. > > I noticed it too recently when my / partition got full during the > installworld phase :-(. > > A few weeks ago a change was MFC'd that will also compile modules with > -g if you compile the kernel with -g. That's the reason why you are now > seeing much larger modules than before. Ack. kernel.debug doesn't get installed, and neither should debug modules, IMHO, unless you do it deliberately. A temporary fix, aside from the patch you suggest, would be to strip the modules at install time (e.g., install -s). That said, it is inevitable that new modules will appear (e.g., support for new filesystems and devices), so leaving some room to grow in / is a good idea. When I originally installed 3.4, 100MB was plenty. For new installs of 4.4, I'm using 200MB (and mounting /tmp and /var as separate partitions, 3GB and 5GB, respectively), and probably should have used even more. -- Chris BeHanna Software Engineer (Remove "bogus" before responding.) behanna@bogus.zbzoom.net I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message