Subject: Re: 1.5.3_RC2 swap question
To: Joseph Sarkes <jsarkes@tiac.net>
From: Bill Studenmund <wrstuden@netbsd.org>
List: port-macppc
Date: 05/06/2002 11:20:31
On Sat, 4 May 2002, Joseph Sarkes wrote:

> On Saturday, May 4, 2002, at 12:56 PM, paul beard wrote:
>
> > Joseph Sarkes wrote:
> >> I just managed to install the -current snapshot onto my system and
> >> after a short
> >> period of time, the root filesystem was full, andI had not put
> >> anything there myself.
> >> Very weird. I just tried to build a new kernel, with all the results
> >> going to /usr. I also
> >> haven't found what is using the space yet.
> >
> > I found that cc was putting lots of scratch files in /tmp (what I
> > wrongly assumed was a tmpfs filesystem) and filling up root. You may
> > want to keep an eye on that when next you build a kernel or package.
> >
>
> That's what I thought was happening, but /tmp was empty. It's hidden
> somewhere though,

I think gcc deletes its files when it exits, so you won't see them
afterwards.

> and I plan on reinstalling again with a much much larger root. I am
> perusing the INSTALL.txt
> file even as we speak, to have another go at it.

You might also try adding this to your fstab:

/dev/wd0b       /tmp    mfs     rw,-s=20000     0 0

It will create an automatically-mounted mfs file system on /tmp, which
will be 20000 blocks (10MB).

Take care,

Bill