From owner-freebsd-questions Wed Nov 6 12:35:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 405D437B401 for ; Wed, 6 Nov 2002 12:35:19 -0800 (PST) Received: from smtprelay6.dc2.adelphia.net (smtprelay6.dc2.adelphia.net [64.8.50.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45A8943E91 for ; Wed, 6 Nov 2002 12:35:18 -0800 (PST) (envelope-from alex@battleface.com) Received: from prometheus.localdomain ([68.64.68.238]) by smtprelay6.dc2.adelphia.net (Netscape Messaging Server 4.15 smtprelay6 Dec 7 2001 09:58:59) with ESMTP id H5696S03.4BV for ; Wed, 6 Nov 2002 15:35:16 -0500 Subject: Re: Can I delete /usr/src ? From: "Alex(ander Sendzimir)" To: freebsd-questions@FreeBSD.ORG In-Reply-To: <002601c285d2$81da02d0$0701a8c0@darryl> References: <002601c285d2$81da02d0$0701a8c0@darryl> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 06 Nov 2002 14:44:16 -0500 Message-Id: <1036611857.309.27.camel@prometheus> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Yes. However, if you have custom kernel configuration files in /usr/src/sys/i368/conf, then save them some place safe if you have not done this already. Then remove with rm -rf /usr/src/* This will leave the /usr/src directory. An alternative is to tar and compress /usr/src with tar czf /tmp/usr-src-2002.11.05-archive.tar.gz /usr/src I've given my favorite archive naming convention. You can use it or use your own. When done, delete /usr/src as above. You can always CVSup the source again at a later time. Of course, if you still have concerns that have not been addressed here or I've gone astray from your original question, then don't delete anything until you get them answered. Alex On Wed, 2002-11-06 at 15:24, Darryl Hoar wrote: greetings, I cvsupped from 4.7-release to 4.7-stable. Followed all the steps to do that. I need to reclaim some disk space. Can I delete the files under /usr/src? Currently it's consuming roughly 340 MB of space ? thanks, Darryl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message -- A L E X A N D E R S E N D Z I M I R Battleface Computing Custom Computing - Linux & Free BSD - C, Perl, Python, WWW info@battleface.com | 802 863 5502 | Colchester, VT 05446 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message