Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2002 12:36:47 -0800
From:      Adam Weinberger <adamw@FreeBSD.ORG>
To:        Darryl Hoar <darryl@osborne-ind.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Can I delete /usr/src ?
Message-ID:  <20021106203647.GN197@vectors.cx>
In-Reply-To: <002601c285d2$81da02d0$0701a8c0@darryl>
References:  <002601c285d2$81da02d0$0701a8c0@darryl>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021106203647.GN197>