Solved - Size of O.S. and its programs

What features/apps/bugfixes needed in a future Puppy
Post Reply
Message
Author
fixit

Solved - Size of O.S. and its programs

#1 Post by fixit »

No complaint but an observation.

My Windows XP is loaded to the gills with programs.

It uses about 11 Gb.

Puppy is using about 42 Gb.

Seem a rather large difference ? (4X)

Andy
Last edited by fixit on Sat 08 Mar 2014, 04:06, edited 1 time in total.

p310don
Posts: 1492
Joined: Tue 19 May 2009, 23:11
Location: Brisbane, Australia

#2 Post by p310don »

How did you come up with the figure of 42gig??

That sounds virtually impossible noting the sub 200megabyte download.

Have you installed 41.8gig of programs and stuff in it?

fixit

#3 Post by fixit »

Filesystem 1K-blocks Used Available Use% Mounted on

Puppy -> /dev/sda5 84,819,388 34,387,572 46,123,188 43% /

Windows XP -> /dev/sda1 71,850,680 8,526,344 63,324,336 12% /mnt/sda1

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#4 Post by mavrothal »

fixit wrote:Filesystem 1K-blocks Used Available Use% Mounted on

Puppy -> /dev/sda5 84,819,388 34,387,572 46,123,188 43% /

Windows XP -> /dev/sda1 71,850,680 8,526,344 63,324,336 12% /mnt/sda1
Looks like this is a full install since /dev/sdaN is mounted to /
Which puppy is it?
I have Quirky Tahr and Slacko-5.6.5.6 in full installs and they are ~700MB without devx and ~1.3GB with devx, so 42 GB is a bit large...
Try to

Code: Select all

cd /
du -h -a -d 1
To see what is taking up all this space.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

fixit

#5 Post by fixit »

109M ./lib
0 ./dev
4.0K ./Storage
0 ./run
48G ./mnt
4.0K ./info
4.0K ./include
0 ./proc
0 ./sys
4.0K ./games
4.0K ./fsckme.flg
5.9M ./bin
4.0K ./opt
3.7M ./sbin
1.9G ./usr
4.1M ./etc
31G ./root
4.0K ./src
4.0K ./space.txt
4.0K ./free_space.txt
4.0K ./lost+found
1.4M ./tmp
1.5M ./var
8.0K ./share
8.0K ./lib64
3.0M ./boot
84K ./man
81G .

p310don
Posts: 1492
Joined: Tue 19 May 2009, 23:11
Location: Brisbane, Australia

#6 Post by p310don »

48gig under /mnt - that's your stuff

fixit

#7 Post by fixit »

p310don wrote:48gig under /mnt - that's your stuff
My friend.

Could you be a little more detailed ?

Vielen Dank,

Andy

p310don
Posts: 1492
Joined: Tue 19 May 2009, 23:11
Location: Brisbane, Australia

#8 Post by p310don »

/mnt is where your drives are mounted.

All the stuff on the hard drive, leftovers from windows, pictures, movies, whatever are under that directory. Look under /mnt/home to see what's in there

Puppy itself is probably taking up 1-2% of the total.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#9 Post by mavrothal »

fixit wrote: 48G ./mnt
....
1.9G ./usr
....
31G ./root
Looks like you have install/downloaded who-knows-what.

31G in /root and 48G in /mnt are files not included in puppy but added afterwards. The 1.9G in /usr is also indicative.
cd to /root and /mnt and try the same du command till you get to the end of it.

Let me ask again though, which puppy is it and how was it installed/booted?
The src, share, include, lib64 and man folders at / suggests a pretty messed up system (as if /usr was copied to /)
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#10 Post by mikeb »

This is comparing apples to oranges ....

Even with the windows figure.... my windows XP folder is 500MB, program files is 2GB.... i would consider them to be 2 separate things.

For the puppy /usr contains the majority of the system.... /mnt would be any mounted drives and /root i suspect a pile of downloads... again the last 2 are not really part of the system and for linux you do deal with a virtual file tree made up of usually several sources.

You do have the devx in there which contains a lot of stuff not needed for compiling...same goes for the kernel sources. One thing to note is that using puppy frugally...ie made up of sfs files and some form of save does keep life a lot tidier and smaller. It also means large items such as the devx can be loaded into the system only when required.

If you are interested as to what is using space have a play with gdmap which is in the menu.

mike

fixit

#11 Post by fixit »

I found the problem.

Tons of files were in the trash.

Can I turn that completely off ?

Thanks.

Here is what it looks like now.

Andy

Filesystem Size Used Avail Use% Mounted on
/dev/sda5 81G 3.0G 74G 4% /
devtmpfs 2.0G 0 2.0G 0% /dev
shmfs 985M 0 985M 0% /dev/shm
tmpfs 985M 352K 985M 1% /tmp

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#12 Post by Semme »

@ every boot, this will flush *ALL* files and folders that ROX/Thunar have accumulated.

Go into ~/Startup and rt-clk >> new >> script.

Name it as you please, then open and add:

Code: Select all

sleep 5
rm -rf ~/.Trash/*
rm -rf ~/.local/share/Trash/files/*
rm -rf ~/.local/share/Trash/info/*
.. under #!/bin/sh

fixit

#13 Post by fixit »

Thanks.

Post Reply