Date: Sat, 17 Feb 2001 20:46:36 -0500 (EST) From: Jim Durham <durham@w2xo.pgh.pa.us> To: damon blom <damon@lanset.com> Cc: questions@FreeBSD.ORG Subject: Re: No space on / Message-ID: <Pine.BSF.4.21.0102172036290.1025-100000@laptop.w2xo.pgh.pa.us> In-Reply-To: <Pine.BSF.4.21.0102171530000.12011-200000@www.lanset.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102172036290.1025-100000>