what can i delete from /usr

2004-12-22 Thread goose bla
hello,,

please. i have not big hdd,, and i need to make free place. what can i
remove from /usr  and system will be OK ? 

example:

/usr/ports/distfiles/   - i can remove all files.

in /usr/ports i can do 
rm -rf \*/work/

i can remove 
/usr/src/sys/i386/compile/*after reboot with new kernel.

can i remove /usr/src/sys/amd64 or /alpha  if a have i386 platform ?


--- reklama -
Nerozumiete niektorm slovkam?
http://slovnik.zoznam.sk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what can i delete from /usr

2004-12-22 Thread Daniel S. Haischt
Btw - why don't you type ...
 $  make install clean
  ^
... if compiling work? That way there woudn't be
left over work directories. You don't need them
anyway after a successfull port install.
goose bla schrieb:
hello,,
please. i have not big hdd,, and i need to make free place. what can i
remove from /usr  and system will be OK ? 

example:
/usr/ports/distfiles/   - i can remove all files.
in /usr/ports i can do 
rm -rf \*/work/

i can remove 
/usr/src/sys/i386/compile/*after reboot with new kernel.

can i remove /usr/src/sys/amd64 or /alpha  if a have i386 platform ?
--- reklama -
Nerozumiete niektorm slovkam?
http://slovnik.zoznam.sk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
!DSPAM:41c993a1248794181411352!

--
Mit freundlichen Gruessen / With kind regards
Daniel S. Haischt
Wan't a complete signature??? Type at a shell prompt:
$  finger -l [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what can i delete from /usr

2004-12-22 Thread Frank Staals
goose bla wrote:
hello,,
please. i have not big hdd,, and i need to make free place. what can i
remove from /usr  and system will be OK ? 

example:
/usr/ports/distfiles/   - i can remove all files.
in /usr/ports i can do 
rm -rf \*/work/

 

I bet you install your ports by doing a 'make install', if you do, you 
can probably better make an 'make install distclean' with the distclean 
option turned on, it automatically removes the ~/work/ directory's and 
the distfiles in /usr/ports/distfiles/. If you want to keep your 
distfiles you can just do 'make install distclean'

i can remove 
/usr/src/sys/i386/compile/*after reboot with new kernel.

can i remove /usr/src/sys/amd64 or /alpha  if a have i386 platform ?
--- reklama -
Nerozumiete niektorm slovkam?
http://slovnik.zoznam.sk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

About the part of /usr/src/sys/ it seems reasonable to me to remove 
amd64 or alpha but I wouldn't know, you might try it but backup the dirs 
first

Frank Staals
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what can i delete from /usr

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 14:31:43 UT, goose bla [EMAIL PROTECTED] wrote:
 hello,,
 
 please. i have not big hdd,, and i need to make free place. what can i
 remove from /usr  and system will be OK ?
 
 example:
 
 /usr/ports/distfiles/   - i can remove all files.
 
 in /usr/ports i can do
 rm -rf \*/work/
 
 i can remove
 /usr/src/sys/i386/compile/*after reboot with new kernel.
 
 can i remove /usr/src/sys/amd64 or /alpha  if a have i386 platform ?

Yes.  In fact, if you have tuned your kernel to your liking, you
can just as well do:

# rm -r /usr/src/sys

And if you don't plan to rebuild the system anytime soon, you
could remove even more:

# rm -r /usr/src/*

Other candidates for removal on my /usr partition are:

/usr/games   - this server don't need no stinking games!
/usr/sup- I keep my cvsup stuff elsewhere

And, you can remove old cruft from /usr/obj, like:

# chflags -R noschg /usr/obj
# rm -rf /usr/obj/*

HTH,

-- 
Joshua Lokken
Open Source Advocate
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what can i delete from /usr

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 16:42:58 +, Frank Staals [EMAIL PROTECTED] wrote:
 goose bla wrote:
 
 hello,,
 
 please. i have not big hdd,, and i need to make free place. what can i
 remove from /usr  and system will be OK ?
 
 example:
 
 /usr/ports/distfiles/   - i can remove all files.
 
 in /usr/ports i can do
 rm -rf \*/work/
 
 
 
 I bet you install your ports by doing a 'make install', if you do, you
 can probably better make an 'make install distclean' with the distclean
 option turned on, it automatically removes the ~/work/ directory's and
 the distfiles in /usr/ports/distfiles/. If you want to keep your
 distfiles you can just do 'make install distclean'
^^^
Ack!  If you want to keep your distfiles, you can just do:

# make install clean
 

-- 
Joshua Lokken
Open Source Advocate
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]