what can i delete from /usr

Frank Staals f.staals at zonnet.nl
Wed Dec 22 07:43:12 PST 2004


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 niektorým slovíčkam?
>http://slovnik.zoznam.sk
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>  
>
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


More information about the freebsd-questions mailing list