From owner-freebsd-questions Wed Nov 6 12:34:50 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 5E8D237B401 for ; Wed, 6 Nov 2002 12:34:49 -0800 (PST) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id C443C43E75 for ; Wed, 6 Nov 2002 12:34:48 -0800 (PST) (envelope-from monkey@vectors.cx) Received: from vectors.cx (59f60ca601b0f8f051afaeb1f19ee416@localhost [127.0.0.1]) by vectors.cx (8.12.6/8.12.4) with ESMTP id gA6Kalit005681; Wed, 6 Nov 2002 12:36:47 -0800 (PST) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.6/8.12.6/Submit) id gA6Kal0H005680; Wed, 6 Nov 2002 12:36:47 -0800 (PST) (envelope-from monkey) Date: Wed, 6 Nov 2002 12:36:47 -0800 From: Adam Weinberger To: Darryl Hoar Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Can I delete /usr/src ? Message-ID: <20021106203647.GN197@vectors.cx> References: <002601c285d2$81da02d0$0701a8c0@darryl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <002601c285d2$81da02d0$0701a8c0@darryl> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-PGP-Key: http://www.vectors.cx/pgp.key.txt X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >> (11.06.2002 @ 1224 PST): Darryl Hoar said, in 0.3K: << > 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 >> end of "Can I delete /usr/src ?" from Darryl Hoar << It's often nice to have the source code around for reference, and for rebuilds, updates, and stuff like lsof which builds better if kernel source is available. My advice would be to whack /usr/obj, which is where the stuff gets build INTO. It has, in effect, a copy of the entire OS and then some. My /usr/obj is 294M, and my /usr/src is 361M. But, other than that, yes: it's perfectly safe to delete /usr/src. - -Adam - -- Adam Weinberger adam@vectors.cx adamw@FreeBSD.ORG -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9yX1eo8KM2ULHQ/0RAj6XAJwIm7sizgOjo36mHbmT0pisOmimugCfbvtX DuqrIw6uVt0pwAqDQHF/nMY= =EbIX -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message