Re: Can I delete /usr/src ?

2002-11-06 Thread Adam Weinberger
-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
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE9yX1eo8KM2ULHQ/0RAj6XAJwIm7sizgOjo36mHbmT0pisOmimugCfbvtX
DuqrIw6uVt0pwAqDQHF/nMY=
=EbIX
-END PGP SIGNATURE-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Can I delete /usr/src ?

2002-11-06 Thread Alex(ander Sendzimir)
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 [EMAIL PROTECTED]
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 RBattleface Computing

   Custom Computing  -  Linux  Free BSD  - C, Perl, Python, WWW
[EMAIL PROTECTED]  |802 863 5502|  Colchester, VT 05446


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Can I delete /usr/src ?

2002-11-06 Thread Paul Everlund
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


You can delete /usr/src, and also /usr/obj, but next time you want to
do an upgrade I guess it will take longer to get all the sources. If
you can manage by only delete /usr/obj it would be the best for you,
if upgrading in the future.

Also, if deleting /usr/src, and hence /usr/src/sys too, you can not
compile your kernel if you change any hardware.

Best regards,
Paul



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Can I delete /usr/src ?

2002-11-06 Thread Darryl Hoar
Many appologies,
I mean /usr/obj but stated /usr/src.  I have
purged /usr/obj and now have my space back.

Many thanks to all that responded.

-Darryl

To: Darryl Hoar
Cc: [EMAIL PROTECTED]
Subject: Re: Can I delete /usr/src ?


On Wed, Nov 06, 2002 at 02:24:27PM -0600, Darryl Hoar wrote:

 greetings,
  hi,
  
 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 ?

  Yes, you can always fetch it back from cvs. BTW. Did you 
clean /usr/obj?
  That can save lots of your disk space.

-- 
0A 0D 0A 2D 2D 20 0D 0A 44 6F 6D 69 6E 69 6B 20  ...-- ..Dominik 
4C 75 70 69 6E 73 6B 69 20 2F 2F 20 79 68 70 78  Lupinski // yhpx
40 61 6C 70 68 61 2E 6E 65 74 2E 70 6C 0D 0A 2E  @alpha.net.pl...

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message