From owner-freebsd-questions Sat Feb 17 17:47:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from w2xo.pgh.pa.us (ipl-229-077.npt-sdsl.stargate.net [208.223.229.77]) by hub.freebsd.org (Postfix) with ESMTP id 864FA37B65D for ; Sat, 17 Feb 2001 17:47:05 -0800 (PST) Received: from [192.168.5.12] ([192.168.5.12]) by w2xo.pgh.pa.us (8.9.3/8.9.3) with ESMTP id BAA57207; Sun, 18 Feb 2001 01:46:59 GMT (envelope-from durham@w2xo.pgh.pa.us) Date: Sat, 17 Feb 2001 20:46:36 -0500 (EST) From: Jim Durham To: damon blom Cc: questions@FreeBSD.ORG Subject: Re: No space on / In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 17 Feb 2001, damon blom wrote: > Hi > I am out of space on my root directory. I have freebsd 4.1 on my pc and > am the only user. I have a large ports file but it is on /var. Just > offhand where should I look to delete files? There is not that much in my > own directory. > Is there an easy way to make / larger? > I want to do a make world to upgade to 4.2 > Any help would be greatly appreciated, There are a couple simple things you can do. A likely problem is that you have a lot of files in /tmp. A good procedure is to move these to /usr/tmp and then remove the /tmp directory. Now, create a symbolic link from /tmp to /usr/tmp. cd / mv /tmp/* /usr/tmp rm tmp ln -s /usr/tmp tmp Have you compiled a new kernel? Perhaps you have old kernel files in / that can be erased. If you have kernel.old, and it is a working kernel, you probably don't need kernel.GENERIC any more. Is /var a separate partition? If not, look at /var/crash, /var/log and /var/mail. If you have ever had a crash, the image of RAM is in /var/crash. I think it is a good idea to move tmp directories or anything that gets written to out of / and make symbolic links to the new locations. -Jim Durham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message