Allan Spagnol Comar <allan.comar <at> gmail.com> writes:
> I am having a little problem with my /usr partition, I had a /usr
> partition of 3.0GB in a production server that is almost full ( 500MB
> remaining ) the portage distfiles is located on other disk (
> /home/portage ) and I do not know what I can remove to save some disk,
> can someone help ?
Well /usr/src contains kernels. get rid of all but the latest sources you
are using.
Here's a little helper commnad to find large files that may or maynot be
discard eligible:
find ./ -size +100000 -exec ls -lag {} \; | less <lists large files>
Here's another trick to find old files that may or maynot be discard eligile:
find ./ -mtime +180 -exec ls -lag {} \; | less
Depending on your setup, files in /usr/tmp may also be 'discard eligible.
hth,
James
--
[email protected] mailing list