Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-26-2004, 08:06 PM   #1
Registered: May 2004
Posts: 75

Rep: Reputation: 15
what files can be safely deleted to save disk space?

HEy i m running a stripped down version of linux.. its still about 780 mb after complete installation. My HDD is 1 gig..and when i check usage of my HDD its about 92% now.. (it used to be 79% last week). So my questoin is where is all that data being written to? and are ther any huge files (logs.. temp.. etc?) that i can safely delete to ensure that the size remains under about 900 MB??
Old 05-26-2004, 09:09 PM   #2
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,531

Rep: Reputation: 100Reputation: 100
Programs u don't use...
Old 05-26-2004, 10:04 PM   #3
Registered: May 2004
Location: NJ - USA
Distribution: Gentoo on 2.6.6
Posts: 39

Rep: Reputation: 15
Go through your personal stuff first, chances are you'll find a lot of space in your home directory
Old 05-26-2004, 10:45 PM   #4
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
look in /var/log
git rid of any old log files you dont really need...........
Old 05-26-2004, 11:39 PM   #5
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Well, if you are going for as small an install as possible (and are skilled with Linux) you can delete all of the "man" pages. That would save space. Also any documentation that gets installed with packages should be deleted.

You can safely delete all of these directories (as long as you don't need, or will miss any of it):

Old 05-27-2004, 01:27 AM   #6
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
you can save about 20 megs by removing the manual pages.
the file /etc/man.conf will tell you the location of all the diff manual pages.
Old 05-27-2004, 07:05 AM   #7
Registered: May 2004
Posts: 75

Original Poster
Rep: Reputation: 15
thx guys..
yes i had alread done all of the above "except" the /var/logs. I also deleted the man pages and backgroudn images and themes etc...
I guess i was vague in my earlier post.. so i didnt get replies that i expected. I have reduced all that i could. The problem is that the free space is reducing. like i said, after clean install i had 21% remaining.. and now i have 8% remaining. I am worried that my HDD will get full. I havent installed any extra programs after the clean install.
I am guessing that some of the services are creating some sort of log files or dump files that are taking up disk space, so i'd like to know if any of you know a link that talks about all the log files or dump that all services make.. and where they are located...

Old 05-27-2004, 07:11 AM   #8
Registered: Apr 2004
Location: France
Distribution: Mandrake
Posts: 67

Rep: Reputation: 15
Well, you better do that soon enough, bemow 10% free space, the performance of your system will be seriously downgraded.
Old 05-27-2004, 07:58 AM   #9
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
[quote]Well, you better do that soon enough, bemow 10% free space, the performance of your system will be seriously downgraded.[quote]

when i feel like gaming, my hard disk oftem becomes 100% full.
(Ut2003 downloading map2 and sounds automatically)

i have a 6 gig disk, and with only 5 meg free, i dont notice any difference in performance to when i have no cames installed, and my hard disk is only 30% in use.

its not like linux uses the same disk space for programs and data as it does for swap.

when my windows disk is full, i get warnings about no swap, and my system does suffer, but linux seems to handle it fine.
Old 05-27-2004, 08:06 PM   #10
Registered: Apr 2004
Distribution: Slackware 9.1, Fedora Core 2
Posts: 40

Rep: Reputation: 15
Maybe clean some useless files (e.g. files downloaded by web browsers and no longer being used) out from /tmp? A lot of 100MB files clogging up your /tmp folder is NOT pretty.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rm'ing files doesn't free up disk space Earlw Fedora 4 03-06-2005 06:40 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
best ways to save disk space mattl Linux - General 1 07-30-2004 04:06 PM
Samba 3 PDC/Win2K client: Roaming profile save problem: disk space thr0ck Linux - Networking 11 07-19-2004 11:20 AM
I've deleted a log file to save space and... ganninu Linux - General 3 11-04-2003 12:03 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration