[ale] What is safe to delete?

Charles Marcus CharlesM at Media-Brokers.com
Fri Jan 18 12:28:09 EST 2002


Thanks for the tips everyone

Now I'm just worried about deleting something that breaks the system...

I know the system hasn't been broken into - its been almost full the whole time.  The guy that set it up quit on us right after he finished it, and its down in Fla so I am very hesitant to do anything that might break it.  I've been worrying about this for some tiume, and am tired of it.  I'll be going down to replace the drive with a new install soon, but it may still be a month or two.

There is only about 160M free right now, out of 3G.

I *think* I can delete /var/win4lin, which would give me another 275M, but I'm not sure if we are rtunning on a win4lin kernel, and whether or not deleting this directory would break it if we were.  We are *not* using win4lin, he was just playing with it trying to get it to work.

uname -a gives me:

Linux sfla.com 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown

and I'm pretty sure win4lin kernels have the name win4lin in them...

I'm also pretty sure I can delete everything in /var/cache/redcarpet (179M).

I already cleaned up /var/spool.

Any other places I can look for unnecessary stuff?  How about kernel sources?

Thanks

Charles

> -----Original Message-----
> From: James P. Kinney III [mailto:jkinney at localnetsolutions.com]
> Sent: Friday, January 18, 2002 11:07 AM
> To: Charles Marcus
> Cc: Ale (E-mail)
> Subject: Re: [ale] What is safe to delete?
> 
> 
> du -k --depth=1 is your friend. 
> 
> If the / partition is filling up, you need to check:
> /tmp  is it full of old stuff that needs to be deleted?
> /var/[log spool/mail] if the logfiles are not being rotated 
> or there is
> an ongoing error filling up syslog, that is a frequent problem.
> /var/spool/mail may also be filling up with notices to root 
> about events
> logwatch is seeing, portsentry is seeing, etc.
> 
> You might also have been attacked and some black hat SOB is using your
> box as a warez ftp site.
> 
> 
> n Fri, 2002-01-18 at 10:50, Charles Marcus wrote:
> > Hi all,
> > 
> > Another question...
> > 
> > A guy I contracted with to set up a box for me made the / 
> partition 3 GB.  Well, this should be enough, but this thing 
> is almost full.
> > 
> > Is there an easy way to find out what is taking up so much space?
> > 
> > Also, is there a way to make the ls -al listing show the 
> size of the Directories?  Not just the directory *entries*, 
> but how much disk space all of the files in that directory 
> are taking up on disk?
> > 
> > Thanks
> > 
> > Charles
> > 
> > 
> > 
> > ---
> > This message has been sent through the ALE general discussion list.
> > See http://www.ale.org/mailing-lists.shtml for more info. 
> Problems should be 
> > sent to listmaster at ale dot org.
> > 
> -- 
> James P. Kinney III   \Changing the mobile computing world/
> President and COO      \          one Linux user         /
> Local Net Solutions,LLC \           at a time.          /
> 770-493-8244             \.___________________________./
> 
> GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
> <jkinney at localnetsolutions.com>
> Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7 
> 
> 
> 



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.






More information about the Ale mailing list