LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 05-26-2004, 09:06 PM   #1
rohan208
Member
 
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??
Thx,
Rohan
 
Old 05-26-2004, 10:09 PM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
Programs u don't use...
 
Old 05-26-2004, 11:04 PM   #3
PGDubbin
Member
 
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, 11:45 PM   #4
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
look in /var/log
git rid of any old log files you dont really need...........
 
Old 05-27-2004, 12:39 AM   #5
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
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):

/usr/doc
/usr/info
/usr/man
/usr/share/doc
/usr/share/info
/usr/share/man
/usr/share/locale
/usr/share/zoneinfo
 
Old 05-27-2004, 02:27 AM   #6
qwijibow
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, 08:05 AM   #7
rohan208
Member
 
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...

Rohan
 
Old 05-27-2004, 08:11 AM   #8
bahramH
Member
 
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, 08:58 AM   #9
qwijibow
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, 09:06 PM   #10
young1024
Member
 
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.
 
  


Reply


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 07:40 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 04:58 PM
best ways to save disk space mattl Linux - General 1 07-30-2004 05:06 PM
Samba 3 PDC/Win2K client: Roaming profile save problem: disk space thr0ck Linux - Networking 11 07-19-2004 12:20 PM
I've deleted a log file to save space and... ganninu Linux - General 3 11-04-2003 01:03 PM


All times are GMT -5. The time now is 10:16 PM.

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