Visit Jeremy's Blog.
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 07-30-2004, 11:06 AM   #1
Registered: Mar 2004
Location: MA, USA
Distribution: OpenSuse 10, FC4/5, Mepis
Posts: 95

Rep: Reputation: 15
best ways to save disk space

i have a small drive and would like to keep my suse 9.0 install as lean as possible, here's what ive done so far:

messed w/logrotate to limite logsizes and archive opften and only keep minimum history. i check the log directory often.
One log I havent figured out where to set is an XFree86 log that keeps posting an error all day long about a display issue. its running fine for months, I wish i knew where to turn this off, anyone?

ive noticed doing a system update just puts all this default uneeded software so i do manual software echks with yast. removed most things im sure of.. the sytem still runs
i keep kde on there as it has the admin tools which are easy to use but mostly im in windowmaker.

anything else i should check to free up some space?

obviously would like to get a larger drive but it's not possible for a while.

Old 07-30-2004, 05:06 PM   #2
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
- Strip all binaries (be careful not to strip -s on your shared libraries. Use strip -g for .so files)

- Remove static libraries (.a) and headers and any source files if you're not going to do any development (this includes building packages from source).

- Get rid of redudant stuff (unwanted temp, log, var files).

- Remove unneeded i18n stuff like message catalogs, locale info, zone info.

- Trim your ncurses terminfo database (usually /usr/share/terminfo) to just the bare essentials.

- Delete unwanted kernel modules / drivers, X-server drivers.

- Use a smaller block size for your file system (at the expense of speed/efficiency).

- Delete non-essentials like icons,graphics,sounds,fonts etc.

Just a warning though, doing the above (especially when deletin files) may break your distro's file/package management.

Sometimes, some linux distros make me wonder if they're any less bloated than Windows, which is one of the common arguments by the linux zealots for making the switch.


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
save space and delete old packages ctagg Linux - Newbie 1 03-14-2005 05:33 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
video compression to save space angryjoe General 5 11-17-2004 05:29 PM
Samba 3 PDC/Win2K client: Roaming profile save problem: disk space thr0ck Linux - Networking 11 07-19-2004 12:20 PM
what files can be safely deleted to save disk space? rohan208 Linux - General 9 05-27-2004 09:06 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:03 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